[Users] password protection

Ralf Mardorf info.mardorf at rocketmail.com
Fri Jan 29 18:08:13 CET 2016

On Fri, 29 Jan 2016 11:14:09 -0500, Pierre Fortin wrote:
>- ssh userid2 at localhost

Hi Pierre,

I never tried this. What is the correct syntax?

What ever name, id, ip combination I try , as user or root I get

"ssh: connect to host [foo] port 22: Connection refused"

[rocketmouse at archlinux ~]$ echo $(id -u chuser)@$(cat /etc/hostname)
1001 at archlinux
[rocketmouse at archlinux ~]$ echo $(id -u chuser)@$(hostname -f)
1001 at archlinux.localdomain
[rocketmouse at archlinux ~]$ cat /etc/hosts
# /etc/hosts: static lookup table for host names

http://linuxundich.de/gnu-linux/perl-arch-search-cpan-nicht-erreichbar-metcpan-umleiten/ search.cpan.org

#<ip-address>	<hostname.domain.org>	<hostname>	localhost.localdomain	localhost
::1		localhost.localdomain	localhost

# End of file


More information about the Users mailing list