Re: Enabling remote ssh access
From: Troy Piggins (usenet_at_piggo.com)
Date: 03/29/05
- Next message: me: "Win2003 IP blocking"
- Previous message: Duane Arnold: "Re: Routers vs. Firewalls"
- In reply to: Dr. Oz: "Enabling remote ssh access"
- Next in thread: Jose Maria Lopez Hernandez: "Re: Enabling remote ssh access"
- Reply: Jose Maria Lopez Hernandez: "Re: Enabling remote ssh access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 28 Mar 2005 23:54:05 GMT
* Dr. Oz wrote:
> I am working on a Linux network that was set-up by someone else and I
> need help enabling remote SSH access.
>
> Here's what I've done so far, but to no avail.
>
> iptables -A INPUT -p udp --sport 22 -j ACCEPT
Shouldn't that be:
iptables -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
> and I've added the following to the hosts.allow file:
>
> ALL:ALL
> sshd:ALL
Note -------+ (not ssh_config)
V
/etc/ssh/sshd_config add these lines :
PermitRootLogin no
AllowUsers troy
If you don't have strong passwords, you should look at public key auth
too.
-- T R O Y P I G G I N S e : usenet@piggo.com
- Next message: me: "Win2003 IP blocking"
- Previous message: Duane Arnold: "Re: Routers vs. Firewalls"
- In reply to: Dr. Oz: "Enabling remote ssh access"
- Next in thread: Jose Maria Lopez Hernandez: "Re: Enabling remote ssh access"
- Reply: Jose Maria Lopez Hernandez: "Re: Enabling remote ssh access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]