Results 1 to 2 of 2
Hi,
I am in a real pickle,I need to create a ssh tunnel on port 2401 to my work host,'atwork.com'.
This is what I do from the CLI...
ssh -l ...
- 03-04-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 3
Desperatly need help with SSH
Hi,
I am in a real pickle,I need to create a ssh tunnel on port 2401 to my work host,'atwork.com'.
This is what I do from the CLI...
ssh -l lester -L 2401:localhost:2401 atwork.com
The cli asks for my password,I don't have it and this is okay,so then it asks for my atwork password,
I type it in correctly and I get permission denied,please try again.
Can someone tell me the problem?
I can connect to atwork.com via ssh no problems,I give the password and I'm in,
it's trying to open the tunnel that defeats me!
Thanks so much to anyone that can help.
Lester.
- 03-04-2009 #2
So you can do:
ssh lester@atwork.com
<password>
ssh -l lester atwork.com
<password>
but not
ssh -l lester -L2401:localhost:2401 atwork.com?
What is the name of the remote machine you're connecting to? You could try doing:
ssh -L 2401:<remote machine name>:2401 lester@atwork.com
This should prompt for your remote password in the normal way. You could also try specifying the '-v' option on the ssh command line - this will give your a verbose output of the connection, and should help you identify what's going wrong.Linux user #126863 - see http://linuxcounter.net/


Reply With Quote