Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 6th, 2001, 11:09 PM
kenb kenb is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 1999
Location: Tempe, AZ, USA
Posts: 12 kenb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Inability to remotely login via SSHD/Telnet

I am not a beginner but I do keep running into a problem which leaves me perplexed. I have several Linux/unix boxes and occasionally, I will attempt to login to one remotely via ssh (sshd is running on intended host) - and it will ask for my password, and even though I give it the correct one (with CAPS off) - it says password authentication failed and wont let me login. I check /etc/services and sshd is in there, and I check /etc/inetd.conf and a line for sshd and/or telnet is in there as well. Yet, when I logon with the same user ID(non-root user) from the console it lets me in no-problem. I have also checked the user profile in /etc/passwd and it does have a home entry and a shell assigned. Frequently, it seems this occurs after I have had to reboot the machine one or more times (for other reasons, moving it, hardware, etc). I cant seem to find a consistent cause for this recurring behavior, and Im sure it must be something simple that Im not aware of.
Does anyone have any ideas or suggestions?
Thanks

Reply With Quote
  #2  
Old August 8th, 2001, 01:17 PM
Schnotz Schnotz is offline
hmm...
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Nashville
Posts: 50 Schnotz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 18 sec
Reputation Power: 8
Sounds odd. I have never had a problem with ssh.
First, try to ps -ef | grep ssh to see if there is a line saying /usr/bin/sshd or similar. That way you will find out if the ssh daemon is actually running.
Second, if first is ok. reset the password with [ passwd user ]and make sure that you remember the password.
third, on the remote host type in [ ssh ip.ip.ip.ip -l user ](this forces a username on the machine u are trying to log in to) and see if that works.
If not, well I don't know. Reinstall ssh and try again. Let me know how it goes.

If you are logged in as John on the machine and just type in ssh remopte_machine it will default to that username on the remote machine unless you set the -l switch.

Good luck

Reply With Quote
  #3  
Old August 9th, 2001, 01:02 PM
kenb kenb is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 1999
Location: Tempe, AZ, USA
Posts: 12 kenb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have verified that sshd is running. Also - I always login with the user specified (-l user).
When I add the (-v) verbose switch to the ssh login it comes back with PAM authentication errors. As if I entered the wrong password or if something is wrong with PAM. (Note - I have also reset the password a few times, and am very careful to make sure I am typing it correctly).
So, I am still perplexed, and will probably reboot the machine, and-or install some packages again to fix it.
Thanks,
Ken

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Inability to remotely login via SSHD/Telnet


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway