Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Aug 27, 2013 7:04 pm 
Offline
Senior Newbie

Joined: Mon Aug 26, 2013 9:02 pm
Posts: 14
For my CentOS 6.2 machine, in /etc/ssh/sshd_config I disallowed pw-based login...

Code:
PasswordAuthentication no


It appears that password-based authentication is disallowed for the Lish console, or I'm making a typing mistake.

(I can ssh in ok from my main workstation using key-based authentication.)

I'm trying to interpret this part of the docs...

( https://library.linode.com/using-lish-the-linode-shell )

Quote:
The [Lish] console provides out-of-band access to your Linode, which means you can use Lish to access your Linode even when you are unable to connect directly via SSH. This is useful if firewall settings or a bad network configuration prevent you from accessing your Linode using SSH.


Should I expect to be able to log in via the Lish console using my username and password, or does that ssh config apply Lish as well?


Top
   
PostPosted: Tue Aug 27, 2013 7:11 pm 
Offline
Senior Member

Joined: Mon Aug 29, 2011 2:34 am
Posts: 77
When you're at your console (you see "<hostname> login:") you should always be able to log in as root with your root password, unless you succeeded in breaking PAM (If you don't know what this is, you probably didn't). Using the AJAX client from the Linode Manager will generally bring you right to your Linode's console. You may want to double check you're typing your password correctly. If you still can't get in, you can reset your root password from the Rescue tab in the Linode Manager (which does require that you power down your Linode first).

-Doug

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
PostPosted: Tue Aug 27, 2013 7:14 pm 
Offline
Senior Member
User avatar

Joined: Thu Nov 24, 2011 12:46 pm
Posts: 139
Location: Mesa AZ
When you are connected to your console via Lish, you are not using an SSL connection between Lish and the Console. So your PasswordAuthentication no doesn't mean anything.

The point being, if you locked yourself out of ssh, you can still get there via Lish as if you were standing there at the keyboard.


beat me to it...

_________________
Kevin a.k.a. Dweeber


Top
   
PostPosted: Tue Aug 27, 2013 7:31 pm 
Offline
Senior Newbie

Joined: Mon Aug 26, 2013 9:02 pm
Posts: 14
Ok, thanks a lot for the help.

It appears I was making some kind of mistake with copy-and-paste, maybe inserting a return or something.

Now it's working.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: SpinThis! and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group