LuCI > System > Administration > SSH Access
- Password authentication > Check
- Allow root login with password > Check
Save & Apply
If you want to SSH to your PC, enable and start OpenSSH server on the PC.
LuCI > System > Administration > SSH Access
Save & Apply
If you want to SSH to your PC, enable and start OpenSSH server on the PC.
i mainly use scp
or rsync
from terminal, also integration in dolphin kde is pretty smooth when needed in my case.. you should dig around all the info you got from this post and find your "sweet spot" for your workflow..
hi again,
I did your command but it works only if I open my terminal as 'root'
if Im not as root, I got that
/home/james/.ssh/config: line 1: Bad configuration option: ~/.ssh/config
/home/james/.ssh/config: terminating, 1 bad configuration options
I need to do ''sudo'' before.. sudo ssh openwrt
Sounds like the first line of your config file is messed up.
I have that in /.ssh/config
~/.ssh/config
Host openwrt
HostName 192.168.1.1
Port 3xxxx
User root
IdentityFile ~/.ssh/id_localrouter
PubkeyAcceptedKeyTypes +ssh-rsa
Remove the first line.
it works now, but is it ok with those warnings?
:~$ ssh openwrt
The authenticity of host '[192.168.1.1]:3xxxxx([192.168.1.1]:3xxx)' can't be established.
ED25519 key fingerprint is SHA256:gKPTuExxxxxxxxxxxxxxxxxxxxxxxxxxxQ4Y.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[192.168.1.1]:3xxxx' (ED25519) to the list of known hosts.
@ WARNING: UNPROTECTED PRIVATE KEY FILE!
Permissions 0644 for '/home/james/.ssh/id_localrouter' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/james/.ssh/id_localrouter": bad permissions
root@192.168.1.1's password:
chmod -R go= ~/.ssh
Really...?
ssh -i /home/user/Downloads/foo/SSH_key/your_key.key root@192.168.1.1
(I wasn't even aware there was PuTTY for Linux, thanks for the info!)
It doesn't seem that hard...unless I misunderstand what you mean by "login automatically". Most terminal screens will allow you to open it into a command, so you can even configure your desktop to load it when opened.
to load it from open wrt ?
you mean, like we do ie; in downloads folder and choose ; open in terminal ?
I have no clue what you're asking. You said you had a Linux desktop, so your reply is very confusing.
Nonetheless, that is the command.
yes linux debian,
about that, I m not sure what you explain
You want to use a key to login via SSH from a Debian Linux machine. That is the command on the Linux box (hence, I said configure desktop).
ok yes, you're right, sorry.
about ''.key'', I use ''ed25519 '' it is fine? just addind the complete key at the end of that command..