[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rlogin without a password



On Thursday 02 May 2002 9:51 am, Karl E. Jorgensen wrote:
> Long time no hear!
>
I've been too busy in the garden :-)

> >
> > Notice the extra line: 'Creating SSH1 key'
>
> !? Perhaps you didn't purge everything? As far as I can see from
> /var/lib/dpkg/info/ssh.postinst this should be dependent on answers
> given during configuration. Those answers are stored by debconf, which
> you presumably didn't purge. (Some day I got to find out where it is!
> RTFM time).

I think you're right. My purging wasn't particularly scientific. What most 
people don't realise, is that the 'rf' - in rm -rf stands from Really 
Frustrated. I'm surprised I didn't do any real damage!

>
> I presume that
>     # dpkg-reconfigure --priority=low ssh

I've not tried these args. I'd tried dpkg-reconfigure on its own, and it said 
everything was fine, or words to that effect.

> > and type it in, rather than from a telnet session. i.e. The telnet
> > session produces: dougie@guestw:~$ ssh-add
> > 	Could not open a connection to your authentication agent.
>
> !?
>
> You should only need ssh-agent running on the machine where *you* sit.

I'm a bit confused by this. Surely if I'm sitting in from of the laptop 
(vaiow) and want to ssh to the server (guestw) - doesn't the ssh-agent need 
to be running on guestw?

> However, for processes to talk to ssh-agent, they need a couple of
> environment variables and whathaveyou. I put this in my ~/.xsession
>
>     eval $( ssh-agent )
>
> (where to put this depends on how you start X. My gdm is set up to use
> xsession for me. I like the control).

I've seen references to .xsession in the man pages, but I don't have a file 
called .xsession. Perhaps it's because I'm running kde. But a ps shows it's 
running anyway, so I haven't prodded things too hard.

>
> Yep. I had the same problem once upon a time. Look into the -t option on
> ssh-keygen and use either 'rsa' or 'dsa'. It *is* inconsistent that
> everybody recommends ssh protocol version 2, but the default for
> ssh-keygen is to generate version 1 keys...

Ah ... that does explain things. But, fingers crossed, things are looking ok 
now. Must remember not to reboot! The laptop is perched on the window-ledge 
in the kitchen, getting the odd splash of oil and beer. Hadn't been rebooted 
for two months until this morning!

Dougie


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: