Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-17-2006, 01:31 AM   #1
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?
Old 04-17-2006, 02:04 AM   #2
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
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


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 12:31 PM
Changing server password AFTER setting ssh-auto keys Swakoo Linux - General 1 02-22-2006 05:38 AM
ssh or telent auto login prashant_1012 Programming 1 11-22-2005 02:12 PM
LiveCD with auto SSH/terminal server? Havin_it Linux - Distributions 4 11-01-2005 09:59 AM
Server kicks me out of SSH login The_Nerd Linux - Networking 2 09-20-2004 07:39 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:31 AM.

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