20th Apr, 2023, 04:52 AM
Hello,
I have successfully setup password-less SSH access from my Debian user PC to Xbian root account PC (using ssh-keygen and ssh-copy-id), but when i want to do the same for FileZilla manager (in order to connect Xbian server), it wants path to PEM or PPK file, yet some tutorials says it can accept OpenSSH priv. key file and convert it. So i am trying to find the location of such file on Xbian (since i have SSH password less access already it should be somewhere?). Where it is please?
UPDATE: !!!!!!!
I have found that i need to enter private key of local computer, not one of a remote Xbian server. So i entered /home/myusername/.ssh/id_rsa (had it there already because ran ssh-keygen in the past)
I have successfully setup password-less SSH access from my Debian user PC to Xbian root account PC (using ssh-keygen and ssh-copy-id), but when i want to do the same for FileZilla manager (in order to connect Xbian server), it wants path to PEM or PPK file, yet some tutorials says it can accept OpenSSH priv. key file and convert it. So i am trying to find the location of such file on Xbian (since i have SSH password less access already it should be somewhere?). Where it is please?
Quote:root@xbian ~ # ls -A1 /etc/ssh /root/.ssh
/etc/ssh:
moduli
ssh_config
ssh_config.d
sshd_config
sshd_config.d
ssh_host_ecdsa_key
ssh_host_ecdsa_key.pub
ssh_host_ed25519_key
ssh_host_ed25519_key.pub
ssh_host_rsa_key
ssh_host_rsa_key.pub
/root/.ssh:
authorized_keys
known_hosts
root@xbian ~ # find / -name id_*
/usr/share/perl5/DateTime/Locale/id_ID.pod
/usr/share/i18n/locales/id_ID
/etc/request-key.d/id_resolver.conf
root@xbian ~ # grep -v "#" /etc/ssh/sshd_config|grep .
Include /etc/ssh/sshd_config.d/*.conf
PermitRootLogin prohibit-password
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
UPDATE: !!!!!!!
I have found that i need to enter private key of local computer, not one of a remote Xbian server. So i entered /home/myusername/.ssh/id_rsa (had it there already because ran ssh-keygen in the past)