Tag Info

New answers tagged

0

Found the problem finally. Actually I did not need to copy the public key. Same public key is for both private keys - with passphrase and without passphrase. I thought I have private key without passphrase, but actually I did not. I had only .ppk without passphrase. That was miss communication. So coworker made private key without passphrase and so now I ...


6

You actually need to login to copy your key, you don't have any access to the remote machine (invalid key and password authentication disabled): Re-enable passwd authentication in /etc/ssh/sshd_config: PasswordAuthentication yes service sshd restart Copy your public key: ssh-copy-id -i id_rsa.pub USER@HOST -p PORT [Enter user password] Try to login ...


5

Permission denied (publickey) is the remote SSH server saying "I only accept public keys as an authentication method, go away". That's your main challenge: Getting onto the remote system. Once you can do that, you can upload your key: Using ssh-copy-id - it will allow you to specify a different key if you're in the process of replacing your old one, for ...


0

My theoretical solution was success. I have a folder which will store text files from user input. I have a folder for scripts elsewhere on the server that only root has access to, and runs via cronjob every minute. It checks for the existence of text files in the first directory. If they exist, it runs another script to deploy instances, then deletes any ...


0

It seems like your ssh key is not loaded by Filezilla. You can try two different solutions : 1/ Connect to the GCE through a SSH connection in your shell, then try to connect with FileZilla (this uses the SSH_AUTH_SOCK environment variable) 2/ Add your key to FileZilla : Click on "Edit" and then "Settings" Go to "Connection" and then "SFTP" Click on "Add ...


0

Please check, if you are connecting using the correct user name. Google sometimes has problems parsing the username out of the pasted public key. You can check the username associated to the key on https://console.developers.google.com/project/$yourprojectid/compute/metadata/sshKeys


1

In Windows 7 there is a ssh.exe Here is what worked for me: 1. create identity (on windows) c:\>ssh-keygen That created an identity file in the home directory. I changed the name of the public key to "id_rsa" 2. copy the file to the target linux system using the ssh Credits to http://serverfault.com/users/984/zoredache for his answer c:\>ssh ...


1

Connection timeouts are most often caused by packet filter or NAT device timing out your TCP connection due to inactivity. There is no one golden rule regarding ssh settings. Much depends on your systems and connections. Generally you should set keep-alive interval value to less than it usually takes for your connection to time out (be kicked off from the ...


1

The key format that PuTTY uses is not the same as the one OpenSSH uses. You need to convert the key to the OpenSSH format in order to use it with SSH. You do this in Puttygen, using Menu -> Conversions -> Export OpenSSH key



Top 50 recent answers are included