Question

I'm using SSH port forwarding to connect to Windows Remote Desktop from my Linux machine, like this:

ssh -L 50000:192.0.2.10:3389 user@example.com
rdesktop -f localhost:50000 -u user -p password

Now, the first command opens the remote command line on my terminal, so I have to open another terminal to issue the second one. How can I make ssh go on the background so I wouldn't have to open a new terminal?

Was it helpful?

Solution

You can try ssh with -Nf flags. man ssh for more information.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top