You are not logged in.
Hello there.
I've recently installed Arch in an old system I had, with the 2013 install medium.
The system is now functional and works quite well. I now want to start the ssh server but I want to configure it so that it only allows local connections. Previously, I did that through the hosts.allow file, but that doesn't exist anymore.
I've been thinking of an iptables rule for this purpose. Would that work, or is there another recommended method?
Thanks in advance.
Last edited by GRem (2013-04-08 03:25:08)
Offline
I think you can use the AllowUsers keyword in /etc/ssh/sshd_config
AllowUsers *@192.168.*.*
etc
Offline
Look at 'man sshd_config'
There is also a ListenAddress.
Offline
Oh, that seems a lot easier and convenient.
I'll carry on with the config now, thanks!
Offline