• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Who Knows SSH? Auto Logging in?

Hi everyone, I was just wondering if you guys know how to use SSH? Here is my situation. I have a webserver and a hp server. The webserver is connected to the outside and also the inside network. The HP server is only connected to the inside and has a ip address of let say 192.168.1.1. The Webserver has a IP of 63.198.3.3 and 192.168.1.2

This is what I have to do to gain access to the HP server.

1. get on the internet.

2. use Putty and connect using SSH. So I type in the IP address of 63.198.3.3

3. it connects and ask me my login in name and password

4. after logging in, i type "telnet 192.168.1.1"

5. that gets me into the hp server, i log in and do what i need to do.


my question is, is there a way to automatically sign in on the webserver and then direct it to the hp with just one click. Like a bat file or something like that. If you guys can write it up for me or show me how to do it,i would appreciate it. Thnx.
 
1. Setup sshd to use key authentication (say dsa key using ssh2).
2. Edit your login script (~/.profile, ~/.cshrc, ~/.bash_profile, etc) to automatically SSH you over to the HP machine (since you are going to stop using telnet now 🙂)

Pretty simple.
 
Back
Top