How do you launch an SSH connection with port forwarding without interrupting your screen access?
Posted
by
vfclists
on Super User
See other posts from Super User
or by vfclists
Published on 2012-10-25T16:52:29Z
Indexed on
2012/10/26
5:05 UTC
Read the original article
Hit count: 217
I want to make an SSH connection to another server with forwarding, but without having to log on to the remote server, nor interfere with the screen I am working on. I also need to access the connection to terminate it when I finish with it.
eg. say I want to do a mysql backup on a remote server so I use the command ssh user@remote -L 1234:localhost:3306
but after issuing the password I want to run the mysql command in the session, but be able to access the SSH connection when I finish with mysql and terminate it.
Is there some way this can be done?
© Super User or respective owner