Re: ssh gives "Permission denied, please try again"



On 2008-07-17, Will Kemp <will@xxxxxxxxxxxxxxxx> wrote:
Anthony Campbell wrote:
On 2008-07-17, Ian <ian.groups@xxxxxxxxxxxxxx> wrote:
On 17 Jul, 15:59, Anthony Campbell <a...@xxxxxxxxxxxxxxxx> wrote:

arcadia:~:$ ssh -v a...@xxxxxxxxxxxxxxxx
OpenSSH_4.7p1 Debian-12, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to acampbell.org.uk [82.165.58.181] port 22.
That's the address of kundenserver.de. Since your domain is registered
with Schlund in Germany, I am wondering what exactly you are
connecting too. "Customer server" does not sound like your desktop
machine: it sound like something at Schlund.

Ian

Yes, I wondered if that was what is happening. I don't know how I should
specify my own address from outside my own network.

Ah...

You're trying to ssh from the internet to your local network - and
you're assuming that, because you've got a domain (hosted somewhere
else, by the sounds of it) that's the address to use?

If it's (for example) a home network, using a standard ADSL or cable
internet connection, then - unless you've specifically set something up
- it's not in any way related to your domain (if i'm right in assuming
that's hosted somewhere else).

ADSL and cable internet services don't usually come with fixed IP
addresses - which means that each time your modem disconnects and
reconnects, you're likely to get a different network address.

If you want to be able to ssh to a machine that's connected to the
internet via such a service, you'll have to set up something like
dynamic dns ( http://dyndns.org and others). You'll probably also have
to configure your modem/router to forward incoming ssh connections to
the relevant machine. This isn't trivial - and if you don't know what
you're doing, you shouldn't do it, because it's likely to be a major
security hole that could allow a malicious attacker to take control of
your system.

Basically, this means you're not going to be able to do what you want to
do - unless you hire someone to set it up for you, or you've got plenty
of time to learn about the technicalities of networking.

You're probably better off trying to find another way to achieve what
you need to achieve.


I see. This is bad news. I can ssh without problems within my own
network, from any of three machines to any other. But I go to Greece for
quite long periods and I was hoping to be able to access my computer in
England from there. I thought this was possible because I seem to hear
of a lot of people doing it.

I do have a static IP address and this is what I was using.

One of the main reasons for doing this was to be able to read my emails
from abroad. I can do this on the server I use either by webmail or
possibly by imap, but the spam filter on the server doesn't seem to work
so I have to wade through tons of spam each day.


--
Anthony Campbell - ac@xxxxxxxxxxxxxxxx
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews,
and sceptical articles)

.



Relevant Pages

  • Re: Need Help with Home Network Problem
    ... Is there a Cat5 network cable plugged into it? ... a network cable connecting your main comp to this modem via it's network ... >> internet fine. ... it wont connect at all." ...
    (alt.internet.wireless)
  • Computer Security By VPN/SSH for 2009
    ... Are you concerned over internet safety? ... The following account types outline the levels ... Any SSH Account: 768/2048-bit high grade RSA (encryption changes at ... An SSH tunnel is an encrypted network tunnel ...
    (comp.security.firewalls)
  • Computer Security By VPN/SSH for 2009
    ... Are you concerned over internet safety? ... data encryption that scrambles your internet activity, chat sessions, ... Any SSH Account: 768/2048-bit high grade RSA (encryption changes at ... An SSH tunnel is an encrypted network tunnel ...
    (comp.security.firewalls)
  • Network Security For 2009
    ... Are you concerned over internet safety? ... data encryption that scrambles your internet activity, chat sessions, ... Any SSH Account: 768/2048-bit high grade RSA (encryption changes at ... An SSH tunnel is an encrypted network tunnel ...
    (comp.security.misc)
  • Network Security For 2009
    ... Are you concerned over internet safety? ... data encryption that scrambles your internet activity, chat sessions, ... Any SSH Account: 768/2048-bit high grade RSA (encryption changes at ... An SSH tunnel is an encrypted network tunnel ...
    (comp.security.firewalls)