Code : Tout sélectionner
karin-K73BR nicolas # ssh 192.168.020@xx.xxx.xxx.xx -p10010
Permission denied (publickey).
karin-K73BR nicolas #
Y a t il un problème sur l'ordi client ? ssh est installé, pourtant sur les deux pc .
Merci d'avance
Code : Tout sélectionner
karin-K73BR nicolas # ssh 192.168.020@xx.xxx.xxx.xx -p10010
Permission denied (publickey).
karin-K73BR nicolas #
Que veux tu dire ? qu'il y ait possibilité de partage ?Si ssh (server et client) sont bien installés et que ça fonctionne en local
Code : Tout sélectionner
alain@lmde2 ~ $ ssh 192.168.1.14
The authenticity of host '192.168.1.14 (192.168.1.14)' can't be established.
ECDSA key fingerprint is c0:d5:b7:ac:aa:ea:e2:68:b7:1c:70:74:28:94:1f:ec.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.14' (ECDSA) to the list of known hosts.
alain@192.168.1.14's password:
Linux debian 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Nov 18 03:52:55 2018
alain@debian:~$ ls -la
total 54500
drwxr-xr-x 77 alain alain 4096 déc. 5 08:43 .
drwxr-xr-x 6 root root 4096 juil. 1 2015 ..
-rw-r--r-- 1 root root 3436 sept. 29 2017 account_einstein.phys.uwm.edu.xml
-rw-r--r-- 1 root root 203039 janv. 22 2013 admin_fr-FR.zip
drwx------ 3 alain alain 4096 nov. 10 2014 .adobe
drwxr-xr-x 3 alain alain 4096 oct. 2 2015 airtime
drwxr-xr-x 11 alain alain 4096 déc. 17 2013 airtime-airtime-2.5.1-ga
-rw-r--r-- 1 alain alain 59601 nov. 19 05:22 all_projects_list.xml
drwxr-xr-x 2 alain alain 4096 déc. 5 05:20 .android
drwx------ 2 alain alain 4096 mars 26 2017 .aptitude
drwxr-xr-x 3 alain alain 4096 juil. 5 2015 .arista
drwxr-xr-x 2 alain alain 4096 déc. 1 2016 .asciinema
etc.......
Code : Tout sélectionner
sudo ifconfig
Code : Tout sélectionner
nicolas@LibraZiK2-studio-audio:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 18:03:73:dc:f6:7c brd ff:ff:ff:ff:ff:ff
inet 192.168.0.33/24 brd 192.168.0.255 scope global dynamic noprefixroute eno1
valid_lft 38852sec preferred_lft 38852sec
inet6 fe80::8119:8a10:5f49:4b4/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:ec:1b:88:1d:24 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.20/24 brd 192.168.0.255 scope global dynamic noprefixroute wlp2s0
valid_lft 38878sec preferred_lft 38878sec
inet6 fe80::3878:74b4:61b8:32/64 scope link noprefixroute
valid_lft forever preferred_lft forever
nicolas@LibraZiK2-studio-audio:~$