Hello,
Please, I would like to connect a VM to another:
I typed as follows:
ssh root@192.168.1.4
root@192.168.1.4 's password:
Permission denied, please try again.
root@192.168.1.4 's password:
Permission denied, please try again.
root@192.168.1.4 's password:
Permission denied (publickey, password).
Every time I type the password, I'm sure it correct but it does not accept
it works when I do a ping..
Do you have any idea please?
Thank you so much.
BestRegards.
You might want to check if root is permitted to directly login inside sshd_config.
It's not a good security practice to enable the same.
I would recommend, enable it, exchange the ssh keys and put PermitRootLogin without-password
inside your sshd_config on both hosts.
That way only keys will work for root account.
1 Like
You might want to check if root is permitted to directly login inside sshd_config.
where can i find sshd_config please ? more details please ?
Thank you so much for help.
In /etc/ssh/sshd_config
PermitRootLogin yes
But as a first quick test what the problem is you can simply run: ssh username@192.168.1.4
Anyway: I would disable root login (or keep it disabled and ssh-login as user).
1 Like
Thank you so much it works with the user name
Please i have just one more question:
ifconfig return:
eth0 Link encap:Ethernet HWaddr 08:00:27:71:aa:2c
adr inet6: fe80::a00:27ff:fe71:aa2c/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets re�us:602 erreurs:0 :0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets re�us:69641 (69.6 KB) Octets transmis:3223 (3.2 KB)
eth1 Link encap:Ethernet HWaddr 08:00:27:94:27:3a
adr inet6: fe80::a00:27ff:fe94:273a/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets re�us:0 erreurs:0 :0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets re�us:0 (0.0 B) Octets transmis:3223 (3.2 KB)
eth3 Link encap:Ethernet HWaddr 08:00:27:90:32:da
inet adr:192.168.1.5 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::a00:27ff:fe90:32da/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets re�us:2076 erreurs:0 :0 overruns:0 frame:0
TX packets:389 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets re�us:284630 (284.6 KB) Octets transmis:104782 (104.7 KB)
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:H�te
UP LOOPBACK RUNNING MTU:16436 Metric:1
Packets re�us:12 erreurs:0 :0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
Is it possible that a remote machine sends me a file on this address
192.168.1.5 ?
Thank you for answer.
Don't reuse a thread for unrelated questions. Start a new one with a relevant subject title. Besides, this thread has already been marked as solved.
Regards,
Alister