Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jul 09, 2012 9:33 pm 
Offline
Senior Member

Joined: Wed Nov 16, 2011 8:15 am
Posts: 70
Hi,
I've followed the Linode guide that explains how to setup a secure server using SSH Key Authentication. Following that, I've been following their guide on setting up Postfix with Dovecot... for Ubuntu 10.04 LTS (which is the distribution I'm using).

The problem I'm having now is that whilst I can login to the consol with PuTTY, I can't login to SFTP using PSFTP.
I've tried with CuteFTP PRO, but it prompts me for a passphrase, which I didn't use when generating the keys. I don't think it likes my private key format (generated by puttygen).

The firewall is setup to allow port 22.

Anyone have an idea why this is happening?


Cheers,
Nap

_________________
My VPS system:
(Ubuntu 14.04 LTS, Kernel 3.15.4-x86_64, Apache 2.4.7, MariaDB Server 5.5.40, MariaDB Client 5.5.41, PHP 5.5.9, ISPConfig 3.0.5.4p5, Webmin, PureFTP & Quota, phpMyAdmin, postfix, dovecot, amavis, clamav, spamassassin, awstats, fail2ban, Jailkit, bind9, vlogger, webalizer)


Top
   
PostPosted: Mon Jul 09, 2012 9:33 pm 
Offline
Senior Member

Joined: Wed Nov 16, 2011 8:15 am
Posts: 70
for the time being, I'm going to allow root login. Hopefully this will get me going for now.

_________________
My VPS system:
(Ubuntu 14.04 LTS, Kernel 3.15.4-x86_64, Apache 2.4.7, MariaDB Server 5.5.40, MariaDB Client 5.5.41, PHP 5.5.9, ISPConfig 3.0.5.4p5, Webmin, PureFTP & Quota, phpMyAdmin, postfix, dovecot, amavis, clamav, spamassassin, awstats, fail2ban, Jailkit, bind9, vlogger, webalizer)


Top
   
PostPosted: Mon Jul 09, 2012 9:49 pm 
Offline
Senior Member

Joined: Wed Nov 16, 2011 8:15 am
Posts: 70
don't need to allow root access.
set password authentication on as the problem seems to be related to SSH2 key authentication. Doing this breaks the Server Security setup guide.

Can someone please advise how to get SSH Key Authentication working with psFTP?

_________________
My VPS system:
(Ubuntu 14.04 LTS, Kernel 3.15.4-x86_64, Apache 2.4.7, MariaDB Server 5.5.40, MariaDB Client 5.5.41, PHP 5.5.9, ISPConfig 3.0.5.4p5, Webmin, PureFTP & Quota, phpMyAdmin, postfix, dovecot, amavis, clamav, spamassassin, awstats, fail2ban, Jailkit, bind9, vlogger, webalizer)


Top
   
PostPosted: Tue Jul 10, 2012 12:17 am 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
Does PSFTP require your SSH keys to be in Putty format or OpenSSH format. That could make a big difference. You can generate both types with Puttygen.

-Tim

_________________
'If debugging is the process of removing bugs, then programming must be the process of putting them in.' //Edsger Dijkstra
'Nothing is withheld from us which we have conceived to do.' | 'Do things that have never been done.' //Russell Kirsch


Top
   
PostPosted: Tue Jul 10, 2012 1:27 am 
Offline
Senior Member

Joined: Wed Nov 16, 2011 8:15 am
Posts: 70
Tim, thnx m8.

When you mentioned that psFTP requires the SSH Key, I realised I must have missed something in the documentation.

Turns out I didn't read far enough. I need to run Pageant (with the key added there) in the background in order to have psFTP authenticate using SSH Keys.

I have it running now.

Cheers,
Nap

_________________
My VPS system:
(Ubuntu 14.04 LTS, Kernel 3.15.4-x86_64, Apache 2.4.7, MariaDB Server 5.5.40, MariaDB Client 5.5.41, PHP 5.5.9, ISPConfig 3.0.5.4p5, Webmin, PureFTP & Quota, phpMyAdmin, postfix, dovecot, amavis, clamav, spamassassin, awstats, fail2ban, Jailkit, bind9, vlogger, webalizer)


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


Who is online

Users browsing this forum: No registered users and 1 guest


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