On Wednesday 25 August 2004 15:57, Gary wrote:
Hi Bruce,
On Wed, 25 Aug 2004 09:52:15 -0400 UTC (8/25/2004, 8:52 AM -0500 UTC my
time), Bruce Marshall trunco scripsit:
For security reasons, you cannot SSH as root. SSH as a user, then if needed su to root.
-- Gary
B> Eh?? I do it all the time.... and the only thing I change in the SUSE B> setup is the port number..... I think the default for 9.1 (and for ssh in B> general) is
B> #PermitRootLogin yes
Yes, that is what must be changed (uncommented out), otherwise, he would not be able to get in as root. What I meant was that by default, he could not get in as root. Personally, I too have changed the port number.
Since he can ssh by going directly to the destination machine, this is unlikely to be the problem I suspect the problem is that he has forgotten to do masquerading. Without that, the connection will be very confused. The machine will send tcp packets to one machine but receive replies from another. iptables -t nat -A POSTROUTING -d 192.168.10.186 -j MASQUERADE would be one try