It would also be in your best interest to (at least) change the default port to something else besides port 22, <br><br><a href="http://www.securityfocus.com/infocus/1876">http://www.securityfocus.com/infocus/1876</a><br><br>
<span class="body">"Malicious SSH login attempts have been appearing in some administrators' logs for several years."</span><br><br><span class="body">"Then we examined who attacked the honeypot and what
strategy these attackers used. There were 23 unique IP addresses
involved in the login attempts. The attackers were more or less
persistent in their attempts to gain access to the system, as shown in
Table 3. Ten of the sources tried less than 50 combinations and then
gave up. Five tried harder with approximately 170 login attempts, and
eight tried even harder with up to 1450 login attempts."</span><br><br>Changing the default SSH port from 22 to something else has seen the number of bots attempting to get in from several per day, to die down to zero.<br>
<br>- IKT<br><br><br><br><div class="gmail_quote">On Sat, Jul 5, 2008 at 4:16 PM, Simon Ives <<a href="mailto:simon@simonives.info">simon@simonives.info</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Can someone please help with the syntax to remotely SSH to my Ubuntu<br>
file server. I've opened the server's I.P address and port 22 in the<br>
router and verified that this has occurred with Shields Up (it reported<br>
the server's host-name and that port 22 is open). I'm just unsure of<br>
how to SSH from a remote location.<br>
<br>
The syntax I've attempted is:<br>
<br>
ssh 124.171.***.*** (which is my public I.P address provided by my ISP)<br>
<br>
and<br>
<br>
ssh username@124.171.***.***<br>
<br>
Both return the following error: "ssh_exchange_identification:<br>
Connection closed by remote host"<br>
<br>
I can SSH over the local network with no problems.<br>
<br>
Thanks.<br>
<br>
--<br>
Simon Ives<br>
<br>
E - <a href="mailto:simon@simonives.info">simon@simonives.info</a><br>
M - <a href="mailto:simon.ives@live.com.au">simon.ives@live.com.au</a><br>
W - <a href="http://www.simonives.info" target="_blank">www.simonives.info</a><br>
<br>
Please consider the environment before printing this email or any<br>
attachments.<br>
<font color="#888888"><br>
<br>
--<br>
ubuntu-au mailing list<br>
<a href="mailto:ubuntu-au@lists.ubuntu.com">ubuntu-au@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-au" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-au</a><br>
</font></blockquote></div><br>