Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Login in to a Unix BOx

donne007
Regular Advisor

Login in to a Unix BOx

Is it Possible to telnet in to any UNix box using a Linux using a Portmap or any other way with out using a Passwd .
Please help me out on this
Thanks In advance
Asif
5 REPLIES
Alex Nygren_1
Occasional Visitor

Re: Login in to a Unix BOx

As opposed to using telnet, you might try ssh with a public key/private key pair. This will allow you to authenticate securely without passwords from trusted accounts.

The computer you are connecting to must be running the sshd daemon process.

Check the openssh faq:
http://www.openssh.org/faq.html

cheers,

Alex
Kodjo Agbenu
Honored Contributor

Re: Login in to a Unix BOx

Hello,

Secure Shell (SSH) seems to be a valuable solution for you.

To learn more about it :

http://openssh.org
http://docs.hp.com/hpux/internet/index.html#HP-UX%20Secure%20Shell
http://www.oreilly.com/catalog/sshtdg


When the client contacts the server, they use Diffie-Hellman key agreement to establish a "session key", ie a temporary key to be used to encrypt the exchange. Hence, the system can be configured to use the user's private/public key pair to authenticate. This key can be optionally protected by a password.

If you want a user to authenticate without typing his password, just configure SSH and generate keys without password protection.

Good luck.

Kodjo
Learn and explain...
Nicolas Portais
Frequent Advisor

Re: Login in to a Unix BOx

Hi,

look at this site which explains how to setup ssh2 to login without password:

http://www.cs.northwestern.edu/~knop/DirtyHowtos/ssh.html

Regards,
Nicolas
Robert Thorneycroft
Valued Contributor

Re: Login in to a Unix BOx

You could also use the standard remote shell rsh if you are running on a secure network.
In this case just add an entry for the machine you wish to log in from on to the target machines .rhosts file.

Kind regards,

Robert Thorneycroft
John Meissner
Esteemed Contributor

Re: Login in to a Unix BOx

when I want to telnet into a unix box from my RedHat Linux box I use expect. Install expect (it's on the install cd most likely for your distribution) and then type:

autoexpect -f filename telnet servername

go through the login proceedure and when done hit ctrl + d to stop.
this will create the file filename.sh. Once this is done you need to edit the filename.sh and remove some of the unnecessary text (datestamp and such). once you are done you will be able to change the hostname to match any server you want to log into. Then you can set up icons to click on and telnet into. I'm attaching a file that you can use as a template or example.
All paths lead to destiny