# Addprocs with SSH and a ProxyJump times out

**URL:** <https://discourse.julialang.org/t/addprocs-with-ssh-and-a-proxyjump-times-out/26647>\
**Category:** Julia at Scale\
**Tags:** question\
**Created:** [July 22, 2019, 8:11pm UTC](https://discourse.julialang.org/t/addprocs-with-ssh-and-a-proxyjump-times-out/26647 "2019-07-22T20:11:43Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [June 21, 2021, 10:12am UTC](https://discourse.julialang.org/t/addprocs-with-ssh-and-a-proxyjump-times-out/26647/5 "2021-06-21T10:12:21Z")

</div>

@ararslan Did you get this to work? Unfortunately the suggested approach (control master) doesn’t work for me. A worker process gets started on the node (see htop in the gif below) but on the master I get

```julia
julia> addprocs(["l96"]; params...)
ERROR: TaskFailedException

    nested task error: unable to create SSH tunnel after 100 tries. No free port?

```

![julia_ssh_tunnel](https://global.discourse-cdn.com/julialang/original/3X/5/f/5f2cabcf144632f264c844f3110f73db46152927.gif)

Any ideas what I could do to fix this? I didn’t expect that it would be so hard to start a worker through a ssh tunnel that works just fine from the terminal. ☹

My parameters:

```julia
julia> using Distributed

julia> params = (exename=`nice -19 /home/bauer/bin/julia-1.6.1/bin/julia --project=/home/bauer/JuliaNRWSS21`, dir="/home/bauer", tunnel=true, topology=:master_worker)
(exename = `nice -19 /home/bauer/bin/julia-1.6.1/bin/julia --project=/home/bauer/JuliaNRWSS21`, dir = "/home/bauer", tunnel = true, topology = :master_worker)

julia> addprocs(["l96"]; params...)

```

---

_[View the full topic](https://discourse.julialang.org/t/addprocs-with-ssh-and-a-proxyjump-times-out/26647)._
