Hi I'm from Taiwan, Sorry my English was not good.
I have 2 servers d1 and d2 that I can login with key in command line (use ssh) both of them.
What differenet is d1 server accept key and password authorize and d2 accept key authorize only.
brief:
d1 ssh ==> key and password login accept
d2 ssh ==> key only login accept
Here is my problem:
I wanna login d1 in Caja by typing sftp://root@d1 it jump a window ask me password. if I enter correct password then I can login.
I wanna login d2 in Caja by typing sftp://root@d2 it show me "access was denied."
it seems Caja didn't take my key sent to server or Caja didn't how to get my key
Please help me how to use ssh key login in Caja.
Thank you
[SOLVED] sftp can't connect with key in Caja
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
[SOLVED] sftp can't connect with key in Caja
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: sftp can't connect with key in Caja
i think you forget something.
or maybe it's bug
so that's why the program denied.
or maybe it's bug
so that's why the program denied.
Re: sftp can't connect with key in Caja
I found the solution by myself
vim ~/.ssh/config
Host server1
HostName 192.168.0.5
User root
Port 238
IdentityFile ~/.ssh/keyfile
then you can login in like this command
ssh server1
also you can use in caja like this:
sftp://server1/var/www
Thanks for josilito's hint.
reference: man ssh_config
vim ~/.ssh/config
Host server1
HostName 192.168.0.5
User root
Port 238
IdentityFile ~/.ssh/keyfile
then you can login in like this command
ssh server1
also you can use in caja like this:
sftp://server1/var/www
Thanks for josilito's hint.
reference: man ssh_config