Re: Copying files between hosts on the command line?



On 8/2/06 3:58, in article C00FC5AA.16704%bingbong@xxxxxxxxxxx, "Bonge Boo!"
<bingbong@xxxxxxxxxxx> wrote:

On 8/2/06 15:36, in article C00FC098.16138B%chrisridd@xxxxxxx, "Chris Ridd"
<chrisridd@xxxxxxx> wrote:

Make sure ssh works between the hosts (with passwords or keys) before
trying out scp.

SSH not working on my laptop. Firewall down, Remote login enabled, testing
on the internal LAN

Connection denied (ssh gssapi-with-mic,publickey,gssapi)

Can't remember the last time I SSHed into my laptop, maybe Panther-months
ago.

Further to that, no evidence in the logs of a failed login.

How do I check is sshd is running?

ps/Activity Monitor?

I'm going to have to read up on ps one day.

And is there a tool to check if the
configuration files are ok?

Run sshd with the -t flag.

sshd -t
Could not load host key: /etc/ssh_host_rsa_key

Permissions are 700 for root.

You get a "bad permissions: ignore key" error if the perms are wrong.

Hm, it tries to read the public (RSA in this case) key at the same time, so
check that exists. It looks like sshd -ddd -t gives more debug output.

Using ssh -v name@host gives me reams of debug stuff which I don't
understand. But I do see "Cannot determine realm for numeric address"

Any idea what that might refere to? Is it relevant?

Not off-hand. I'd ignore it until I could get sshd running properly.

I've deleted the old ~/.ssh foder to clear out old keys.

sshd_config can't be found on ere.

Hm, it should be in /private/etc.

Sorry, I was assuming it was a program, not a config file. All present and
correct.

Good.

Cheers,

Chris

.



Relevant Pages

  • Re: SSH connection problem
    ... i didn't know the process sshd exist until Mark and you mentioned it (well, ... desktop to laptop, ... not allowing you access to that port. ... You've demonstrated that you can ssh between the 2 boxes in one ...
    (Ubuntu)
  • Re: Copying files between hosts on the command line?
    ... SSH not working on my laptop. ... on the internal LAN ... Can't remember the last time I SSHed into my laptop, ... How do I check is sshd is running? ...
    (uk.comp.sys.mac)
  • Re: Copying files between hosts on the command line?
    ... SSH not working on my laptop. ... Can't remember the last time I SSHed into my laptop, ... How do I check is sshd is running? ... configuration files are ok? ...
    (uk.comp.sys.mac)
  • Re: [opensuse] sshd broke!!
    ... but I normally ssh into it. ... sshd: ... I assume I need to create a host key, but I don't know where it is ... But I wonder if perhaps it's a permissions thing. ...
    (SuSE)
  • sshd
    ... I'm trying to ssh into my laptop. ... I started sshd and it is running. ... I can ping the ip, but when I try to ssh in, I get a ...
    (Ubuntu)