...
- Navigate to the folder where the key is stored.
- Change the file permissions to a format accepted by the SSH software by entering the command:
chmod 600 <ssh-key file name> - Kirjaudu palvelimelle syöttämällä komento:
ssh –i <ssh-key file name> <short Metropolia username>@shell.metropolia.fi - If the SSH program gives a message:
The authenticity of host 'shell.metropolia.fi (195.148.105.150)' can't be established.
ECDSA key fingerprint is SHA256:JmKwxqzHvpLgmGW6o+PId0GmdalnHMdsG0jDlINUG3c.
Are you sure you want to continue connecting (yes/no/[fingerprint])?- Type yes.
Press Enter.
SSH Connection with WinSCP
- Open WinSCP.
- Press the Windows key.
- Type "winscp" in the search field.
- Click the WinSCP icon.
- Press "Edit" first and then "Advanced".
- Go to the "Authentication" section and locate the Private key file in the saved directory.
- WinSCP will notify you that the key is in the wrong format and ask you to save it in the correct format.
- Choose a name and save location for the .ppk key, then press "Save".
- Press "OK".
- Press "Save" and "Login".
Did You Encounter a Problem?
...