I'm in ubuntu 10.10 using FileZilla 3.3.3 trying to connect to Zend phpcloud via ssh
I first created new public keys (without passphrase) by this terminal command ...
sudo ssh-keygen -t rsa
This public key uploaded to phpcloud allows me to access my new phpcloud container.
key pair was created in
/home/user/.ssh/id_rsa
/home/user/.ssh/id_rsa.pub
and I setup /home/user/.ssh/config and /etc/ssh/ssh_config
But the problem is in making connection with phpcloud container using FileZilla (or even by terminal command)
In FileZilla Settings > SFTP I pointed to the private key in /home/user/.ssh/id_rsa
I then tried to connect:
Host: sftp://mycontainername.my.phpcloud.com
Username: mycontainername
Password: blank
Port: 22
but I get this error message ..
"Error: Could not connect to server"
I then tried going to FileZilla settings > SFTP to set the path to my private key ..
'/home/user/.ssh/id_rsa'
but I get an alert message from FileZilla ..
Convert keyfile
The file '/home/user/.ssh/id_rsa' is not in a format supported by FileZilla
Would you like to convert it to a supported format?
Why is my key format not accepted?
What format is expected from ssh-keygen?
===============================
If I try a connection via terminal command
sftp -v IdentityFile=/home/user/.ssh/id_rsa \ mycontainername@mycontainername.my.phpcloud.com
I get this error
'sftp -v IdentityFile=/home/user/.ssh/id_rsa \ mycontainername@mycontainername.my.phpcloud.com' returned 255
OpenSSH_5.5p1 Debian-4ubuntu6, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
ssh: Could not resolve hostname IdentityFile=/home/user/.ssh/id_rsa: Name or service not known
Couldn't read packet: Connection reset by peer
===============================
Am I missing some basic setup of SSH and/or FileZilla?
Why does FileZilla not accept the format of /home/user/.ssh/id_rsa ?
===============================
sftp connection problems .. ssh key format not accepted
Moderator: Project members
-
- 500 Command not understood
- Posts: 5
- Joined: 2011-11-14 18:38
- First name: D
- Last name: L
-
- 500 Command not understood
- Posts: 5
- Joined: 2011-11-14 18:38
- First name: D
- Last name: L
[SOLVED] sftp connection problems .. ssh key format not acce
Ubuntu forum advised not to use sudo in generating keys and to add id_rsa.pub into
~/.ssh/authorized_keys
so I started again and generated new keys.
I converted private key ~/.ssh/id_rsa to PuTTy format for FileZilla to accept for authorization
and I've just made first connection through FileZilla.
So I'm hoping that this problem is now solved.
~/.ssh/authorized_keys
so I started again and generated new keys.
I converted private key ~/.ssh/id_rsa to PuTTy format for FileZilla to accept for authorization
and I've just made first connection through FileZilla.
So I'm hoping that this problem is now solved.
Re: sftp connection problems .. ssh key format not accepted
That version is not supported, please update to the latest 3.5.3.using FileZilla 3.3.3
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 500 Command not understood
- Posts: 5
- Joined: 2011-11-14 18:38
- First name: D
- Last name: L
Re: sftp connection problems .. ssh key format not accepted
I've now manually installed FileZilla 3.5.3 .. and it picked up the 3.3.3 settings .. thanks
FileZilla version 3.3.3 was previously installed from Synaptic Package Manager ubuntu 10.10
FileZilla version 3.3.3 was previously installed from Synaptic Package Manager ubuntu 10.10