can't ssh out?
Matt Price
matt.price-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Mon Apr 9 19:14:51 UTC 2007
Thanks to Lennart and Fernando, need to correct my own error though:
On Mon, 2007-09-04 at 13:53 -0400, Matt Price wrote:
> ho folks,
>
> on an otherwise functioning laptop, I've suddenly found I can't ssh out,
> although, fortunately, I can ssh IN, so my data's not entirely trapped.
> I've tried from various user accounts, including one fresh one, so the
> problem doesn't seem to be in the ~/.ssh/ directory.
>
ok, i *thought* i'd done that -- but due to something, perhaps using
sudo instead of su, i made some kind of error, because it turns out that
this problem *is* really limited to my main user account (which of
course makes it *much* less crippling). ssh out from root or other
accounts (there aren't any other real accounts on this laptop, but i
made up a fake one) work fine.
I tried deleting my ~/.ssh directory, but that made no
difference. /etc/ssh/* seem to me to be fine; here's the output of your
grep command, ferndando:
:~$ grep ^[^#] /etc/ssh/ssh_config
Host 192.* mythtv anarres
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
Host *
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
----
ssh localhost fails, but works fine from other accounts; ssh -vvv gives
(just at the end):
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /home/matt/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug1: Host 'localhost' is known and matches the RSA host key.
debug1: Found key in /home/matt/.ssh/known_hosts:1
debug2: bits set: 477/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
----
... and then a long hang. This is with a fresh ~/.ssh directory...
tahnks again, and sorry for the misleading misinformation,
matt
> thanks,
> matt
>
>
>
--
Matt Price
History Dept
University of Toronto
matt.price-H217xnMUJC0sA/PxXw9srA at public.gmane.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gtalug.org/pipermail/legacy/attachments/20070409/da73cfe7/attachment.sig>
More information about the Legacy
mailing list