Issue
I use this command in linux terminal to connect to a server and use it as proxy :
ssh -N -D 7070 root@ip_address
it's get the password and connect and everything is Ok but how can I put this process in background ?
I used CTRL+Z but it stop not put this process in background ...
Solution
CTRL-Z is doing exactly what it should, which is stop the process. If you then want to put it in the background, the shell command for doing that is bg
:
$ ssh -N -D 7070 -l user 192.168.1.51
[email protected]'s password:
^Z
[1]+ Stopped ssh -N -D 7070 -l mjfraioli 192.168.1.51
$ bg
[1]+ ssh -N -D 7070 -l user 192.168.1.51 &
That way you can enter the password interactively, and only once that is complete, stop it and put it into the background.
Answered By - Moldova Answer Checked By - Cary Denson (WPSolving Admin)