Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Hi,
I am a amateur to the working of SSH client. I was trying to breakthrough the firewall of my sub-network in order to access all sites. Though a web link , provides an in-depth info on how to break into the firewalls but I failed to implement it.
Well I connect to the internet via a proxy server 10.0.1.1.
On doing an 'nmap 10.0.1.1', it shows the following output,
Interesting ports on 10.0.1.1:
Not shown: 1702 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
3306/tcp open mysql
5000/tcp open UPnP
8080/tcp open http-proxy
10000/tcp open snet-sensor-mgmt
As per the link, I need to create a ~/.ssh/config file with the following details,
Host work
HostName 66.35.250.203
User sporkey
LocalForward 20000 192.168.0.66:80
LocalForward 22000 192.168.0.66:22
LocalForward 22139 192.168.0.8:139
LocalForward 22110 192.168.0.5:110
Host http
HostName localhost
User donkey
Port 22000
HostKeyAlias localhosthttp
Can someone tell me how to go forward with this, as in what exactly to put in the 'config' file to log onto the server. As per a link, the command 'ssh work' asks for a password which is not know. Kindly provide some help.
Thanks.
Last edited by martin910; 07-17-2009 at 05:57 PM..
Reason: Typing mistake
If it's asking for a password, you're probably set up okay. I assume your hosts file defines "work" to the IP you're trying to reach. SSH assumes you have the same username on the target as you are logged in as local. If that's the case, then you enter your password on the target computer (work). If you have a different username, then prefix this to the target with @.....
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe