LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-22-2007, 08:40 AM   #1
shwetank_gupta1
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: Disabled
problem relating SSH


Hi friends
I want to login in a remote computer and i have done all kind of settings required relating public keys.Now when i want to open a remote computer with ip-address->172.31.7.189,I type the command
ssh 172.31.104.11
than it asks for its password when i input its password it successfully login to that computer .
I want to know is there any method so that I WILL DIRECTLY LOGIN IN TO THAT REMOTE COMPUTER AND DON'T HAVE TO TYPE PASSWORD FROM COMAND PROMPT (IT CAN EITHER READ THE INPUT FROM SOME FILE WHICH CONTAINS ITS PASSWORD OR SOME OTHER METHOD).
i HAV TRY ONE WAY THAT I STORE THE PASSWORD IN OSME FILE
AND THEN TYPE THE COMMAND:
ssh 172.31.77.189 < file
BUT IT DOES NOT WORK AND SHOWS THE ERROR MESSAGE:
Pseudo-terminal will not be allocated because stdin is not a terminal


Plz tell the solution of my problem:

Thankx in advance
 
Old 02-22-2007, 08:50 AM   #2
ZeromusM
LQ Newbie
 
Registered: May 2006
Distribution: OpenSUSE 10.0
Posts: 27

Rep: Reputation: 15
Check out the manpage for ssh-keygen.

Basically how this would work, is you generate a key on the local machine and put it into the /home/<user>/.ssh/authorized_keys file on the remote machine, where <user> is the username you'll be connecting as. Once you have this set up properly, it should connect without requesting a password.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question relating to Scrot shazam75 Linux - Software 4 04-13-2006 04:12 AM
Squid relating Issue datagrey Linux - General 1 05-10-2005 10:30 PM
Several questions relating to Debian BaptismOfFire Debian 10 08-30-2004 11:37 AM
quick question relating boot cmack Arch 3 08-23-2003 03:30 PM
Relating Squid with PHP deepalic Linux - Networking 0 11-25-2001 11:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration