Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Mon May 07, 2012 2:03 pm 
Offline
Junior Member

Joined: Thu May 03, 2012 7:42 am
Posts: 37
Website: http://www.doondoo.com
@Daz

Yes we do have access to the console. What is the workaround?


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 2:14 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
After 3 days, and no logical fix works, it's time to say your box is either fubar'd or compromised.

In either case, it's not time for a "workaround", it's time to cut your losses and spin up a fresh VPS.


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 2:20 pm 
Offline
Senior Newbie

Joined: Mon May 07, 2012 12:05 pm
Posts: 8
No chance compromised, if it the same problem as mine.

I would have had to have about 10 different servers hacked, running a variety of different software and distros, and, some on different subnets. Probably more chance of me winning the lottery.

The workaround is simply to use puttygen to generate keys. Have a google around.

Then in your home directory if one does not already exist, create a directory .ssh

The key that goes on the server needs to be pasted into a file authorized_keys in the .ssh directory.

Then reconfigure putty or whatever you are using to use the keys to auth.

Mine goes straight in, no problems.

Its far more secure anyway, you can then go on to switch of password authentication later if you wish.


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 2:44 pm 
Offline
Junior Member

Joined: Thu May 03, 2012 7:42 am
Posts: 37
Website: http://www.doondoo.com
@Daz

Does it even solve the sftp issue as well?


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 2:45 pm 
Offline
Senior Newbie

Joined: Mon May 07, 2012 12:05 pm
Posts: 8
I use Filezilla and Filezilla can use keys too.


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 3:15 pm 
Offline
Senior Newbie

Joined: Sun May 06, 2012 9:02 am
Posts: 13
Website: http://www.sillygoose.com/
Location: Spokane, WA
Update:
We just hired a server admin to investigate this. He said that the PROBLEM is with the pam_unix module. The module is responsible for the password authentication, thus, the problem. It also explains why SSH keys still work.

He'll be fixing it for us tomorrow.


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 3:58 pm 
Offline
Junior Member

Joined: Thu May 03, 2012 7:42 am
Posts: 37
Website: http://www.doondoo.com
@Daz

We have a more irritating problem here :( The console that we use is browser specific and it does not allow Paste. Cant get the key pasted.


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 4:02 pm 
Offline
Senior Newbie

Joined: Mon May 07, 2012 12:05 pm
Posts: 8
Try this then, this also worked for me for some strange reason.

At your console thing -

killall sshd

/usr/sbin/sshd

Then try ssh in, it took ages but worked, I don't think things are entirely borked here there is a timeout that can vbe altered because of that ^^^^ but I don't know which


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 4:13 pm 
Offline
Junior Member

Joined: Thu May 03, 2012 7:42 am
Posts: 37
Website: http://www.doondoo.com
@ Daz

How long did it take to login? I have increased the timeout to 10 mins... is that sufficient?


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 4:24 pm 
Offline
Junior Member

Joined: Thu May 03, 2012 7:42 am
Posts: 37
Website: http://www.doondoo.com
@Daz

Yes Indeed :-) finally the SSH login logged in successfully after quite sometime.
However the sftp doesnt seem to login after quite a long time. Is there anything different required to be done for the sftp.


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 4:28 pm 
Offline
Junior Member

Joined: Thu May 03, 2012 7:42 am
Posts: 37
Website: http://www.doondoo.com
@Daz

Omg... Finally ftp logged in too... after about 15 mins. You are the man!! I will owe you a great deal all my life. You were the medicine to my headache which was running all these days.

Also if possible can you point out what the possible reasons for the sudden change of behaviour could be? So that it helps the others facing this problem too.

Regards,
Maxim


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 4:52 pm 
Offline
Senior Newbie

Joined: Sun May 06, 2012 9:02 am
Posts: 13
Website: http://www.sillygoose.com/
Location: Spokane, WA
Update: generated SSH keys and was able to login with the SSH keys!


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 4:54 pm 
Offline
Junior Member

Joined: Thu May 03, 2012 7:42 am
Posts: 37
Website: http://www.doondoo.com
@cbrands

How did u manage to paste the SSH keys using Lish? The paste doesnt work for me in any browsers: chrome,mozilla,ie,safari,opera.


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 5:00 pm 
Offline
Senior Newbie

Joined: Mon May 07, 2012 12:05 pm
Posts: 8
Now your are ssh'd in paste the keys.

I too want to know what has caused this


Top
   
 Post subject:
PostPosted: Mon May 07, 2012 5:12 pm 
Offline
Senior Newbie

Joined: Sun May 06, 2012 9:02 am
Posts: 13
Website: http://www.sillygoose.com/
Location: Spokane, WA
maxim@inovvorx.com wrote:
@cbrands How did u manage to paste the SSH keys using Lish? The paste doesnt work for me in any browsers: chrome,mozilla,ie,safari,opera.


We didn't have to paste anything in Lish. The keys were generated on our Linode itself, and we copied them through Lish.


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


Who is online

Users browsing this forum: No registered users and 7 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