FileZilla, SFTP and Amazon EC2
I’ve just made a little discovery so thought I would note it in in these pages because I’m sure I’ll need it again.
I’m investigating Amazon’s EC2 at that moment and am trying to put some code up there and struggling to use FTP securely to do it. I use FileZilla on Ubuntu and it seems that FileZilla’s site manager wants me to enter a user name password combination to login to the EC2 instance. However in accordance with Amazon’s recommendations I’m running without user passwords but am instead using public key authentication. But there appears to be nowhere to specify the local private key file location in FileZilla’s Site Manager dialogue.
The answer is that hidden in FileZilla’s settings, Edit->Settings, under the Connection-SFTP setting is a dialogue that allows you to enter the location of the local keypair file. So I added my local key pair at which point FileZilla warned me that it needed to convert my .pem format to a .ppk format. I let it do this and specified the location and name of the converted file. Then, going back to the Site Manager, I set my Amazon host Login Type to Interactive and tried again and I was straight in. Interestingly I didn’t need to tie the Site Manager entry for my EC2 host to the keypair. Just adding the keypair to the general settings as described above did the trick. No messy passwords and no compromised security.
Danny Goodall
'Web Service > AWS' 카테고리의 다른 글
Sending Email from EC2 Instances (0) | 2012.07.27 |
---|---|
Ubuntu에 postfix 설정하기 (0) | 2012.07.19 |
[Mysql] 외부에서 mysql에 접근할 권한 주는 명령어 (0) | 2012.07.17 |
AWS EBS 볼륨 추가/삭제 시 참고 (0) | 2012.07.16 |
Texewrangler에서 aws에 있는 파일 바로 열기 (0) | 2012.07.09 |