I have an app that needs to run a command in the terminal. or i want to run this command in my app.
ssh -N -p 24 -g -D 1080 username@server
plz help me . tnx
I have an app that needs to run a command in the terminal. or i want to run this command in my app.
ssh -N -p 24 -g -D 1080 username@server
plz help me . tnx
Try ssh keys. Check out ssh-keygen for more information. Simply generate a key for yourself, put the public key (usually ~/.ssh/id_rsa.pub) in a file called ~/.ssh/authorized_keys on the box you want to ssh into, and voila, it should just work :)