LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-17-2006, 12:31 AM   #1
sailershen
LQ Newbie
 
Registered: Mar 2005
Posts: 27

Rep: Reputation: 15
How can I auto login to ssh server?


I don't want to use ssh key for auto login, I want to the shell script can auto input password use expect, but I cannot do it, who can help me?
Thanks
 
Old 04-17-2006, 01:04 AM   #2
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 36
Don't do a script for that. It seems unsafe method. You can make the SSH work without passwords and still keep it secure.... more secure in matter of fact. Check this HOW-TO
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto-login script for connecting to remote m/n by using telnet/ftp/ssh Uday123 Programming 5 10-12-2011 11:31 AM
Changing server password AFTER setting ssh-auto keys Swakoo Linux - General 1 02-22-2006 04:38 AM
ssh or telent auto login prashant_1012 Programming 1 11-22-2005 01:12 PM
LiveCD with auto SSH/terminal server? Havin_it Linux - Distributions 4 11-01-2005 08:59 AM
Server kicks me out of SSH login The_Nerd Linux - Networking 2 09-20-2004 06:39 PM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration