Operating System - Linux
1825764 Members
1985 Online
109687 Solutions
New Discussion

Re: through ssh how u connect to another server

 

through ssh how u connect to another server

with the help fo ssh how i will connect to another server in command line in aix
4 REPLIES 4
Zeev Schultz
Honored Contributor

Re: through ssh how u connect to another server

same way you do with any OS...
for more - "man ssh"
So computers don't think yet. At least not chess computers. - Seymour Cray
Steven Schweda
Honored Contributor

Re: through ssh how u connect to another server

If you have an AIX question, why not try an
appropriate forum?

http://www.ibm.com/developerworks/forums/forum.jspa?forumID=747

(But "man ssh" might be a good start, too.)
Stuart Browne
Honored Contributor

Re: through ssh how u connect to another server

As the boys have said, SSH.

If you're wanting to 'bounce' a connection from a PC, through a Linux box to an AIX box, it's generally easier to just SSH into the Linux box and then SSH into the AIX box.


If you want to use SSH to 'tunnel' a connection, like the above option, two SSH sessions are required. Your client sets up the port forwarding which will tunnel down the SSH connection. As you'll be encrypting a connection down an encrypted tunnel, it's means your PC will be doing twice the amount of work than it really needs to be. But this can be done. Look at your client's 'local' port forwarding. The SSH command line equivalent is the -L option.

If you want to expose the AIX box to an external interface via a Linux box, you need to look at 'iptables' and how to DNAT a connection. Something like 'iptables -t nat -A PREROUTING -j DNAT -s -p tcp --dport --to <22>', making sure you tie it down securely enough.
One long-haired git at your service...
Anshumali
Esteemed Contributor

Re: through ssh how u connect to another server

simple way....
ssh user@]hostname
other ways which may include the Auth keys and other functions.... have a look at man ssh
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!