autossh tunnel created to be persistent, now I can't close it out
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I used this command to create my tunnel:
autossh -M 0 -f -q -N -L LOCAL_PORT:REMOTE_HOST:REMOTE_PORT SSH_USER@SSH_HOST
Works like a charm, I have several connections set up with this. The problem is now I can't close it. Grep to get the pid works, but when I kill the process the tunnel reconnects itself. This was the intent when I opened the tunnel, but in the last one I mis-typed my remote port. How can I close this?
ubuntu autossh
New contributor
add a comment |Â
up vote
0
down vote
favorite
I used this command to create my tunnel:
autossh -M 0 -f -q -N -L LOCAL_PORT:REMOTE_HOST:REMOTE_PORT SSH_USER@SSH_HOST
Works like a charm, I have several connections set up with this. The problem is now I can't close it. Grep to get the pid works, but when I kill the process the tunnel reconnects itself. This was the intent when I opened the tunnel, but in the last one I mis-typed my remote port. How can I close this?
ubuntu autossh
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I used this command to create my tunnel:
autossh -M 0 -f -q -N -L LOCAL_PORT:REMOTE_HOST:REMOTE_PORT SSH_USER@SSH_HOST
Works like a charm, I have several connections set up with this. The problem is now I can't close it. Grep to get the pid works, but when I kill the process the tunnel reconnects itself. This was the intent when I opened the tunnel, but in the last one I mis-typed my remote port. How can I close this?
ubuntu autossh
New contributor
I used this command to create my tunnel:
autossh -M 0 -f -q -N -L LOCAL_PORT:REMOTE_HOST:REMOTE_PORT SSH_USER@SSH_HOST
Works like a charm, I have several connections set up with this. The problem is now I can't close it. Grep to get the pid works, but when I kill the process the tunnel reconnects itself. This was the intent when I opened the tunnel, but in the last one I mis-typed my remote port. How can I close this?
ubuntu autossh
ubuntu autossh
New contributor
New contributor
edited 1 min ago
Rui F Ribeiro
37.5k1475119
37.5k1475119
New contributor
asked 7 mins ago
TCooper
1011
1011
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
TCooper is a new contributor. Be nice, and check out our Code of Conduct.
TCooper is a new contributor. Be nice, and check out our Code of Conduct.
TCooper is a new contributor. Be nice, and check out our Code of Conduct.
TCooper is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477852%2fautossh-tunnel-created-to-be-persistent-now-i-cant-close-it-out%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password