satch,
я понимаю, без символ '@'?
пример
L~$ ssh test@v2
Warning: Permanently added 'v2,192.168.100.3' (ECDSA) to the list of known hosts.
test@v2's password:
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-29-generic i686)
* Documentation: https://help.ubuntu.com/
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
test@v2:~$ exit
выход
Connection to v2 closed.
L~$
L~$ ssh test
ssh: Could not resolve hostname test: Name or service not known
L~$
чтобы заработало ssh test?
Пользователь решил продолжить мысль 27 Августа 2014, 13:59:51:
так вот.
L~$
L~$ ssh v2
Warning: Permanently added 'v2,192.168.100.3' (ECDSA) to the list of known hosts.
victor00000@v2's password:
Permission denied, please try again.
victor00000@v2's password:
L~$ ssh root@v2 "useradd victor00000 -m -s /bin/bash"
Warning: Permanently added 'v2,192.168.100.3' (ECDSA) to the list of known hosts.
root@v2's password:
L~$ ssh root@v2 "passwd victor00000"
Warning: Permanently added 'v2,192.168.100.3' (ECDSA) to the list of known hosts.
root@v2's password:
Введите новый пароль UNIX: 1
Повторите ввод нового пароля UNIX: 1
passwd: password updated successfully
L~$
L~$ ssh v2
Warning: Permanently added 'v2,192.168.100.3' (ECDSA) to the list of known hosts.
victor00000@v2's password:
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-29-generic i686)
* Documentation: https://help.ubuntu.com/
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
victor00000@v2:~$ exit
выход
Connection to v2 closed.
L~$
L~$
?