FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 12-11-2008, 05:41 PM
John Hubbard
 
Default ssh localhost without passphrase

Chaman Singh Verma wrote:
> Hello,
>
> From the root window, I can do ssh localhost, but after that it ask
> for passphrase. How can I disallow passphrase recursively ?
>
> May be the following output will clarify my doubt.
>
> csv610@blackhole:~$ ssh localhost
> Linux blackhole 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008
> x86_64
>
> The programs included with the Ubuntu system are free software;
> the exact distribution terms for each program are described in the
> individual files in /usr/share/doc/*/copyright.
>
> Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
> applicable law.
>
> To access official Ubuntu documentation, please visit:
> http://help.ubuntu.com/
> Last login: Thu Dec 11 23:42:08 2008 from localhost
> csv610@blackhole:~$ ssh localhost
> Enter passphrase for key '/home/csv610/.ssh/id_rsa':
>
>
>
> Thanks.
> csv
>
I think that you want to follow these instructions [1] so that you can
log in via ssh without password prompt. It looks like you might have
done some of this already. Let me know if this doesn't solve your
problem.

[1] http://linuxproblem.org/art_9.html

--
-john

To be or not to be, that is the question
2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
0b11000100 || !0b11000100
0b11000100 || 0b00111011
0b11111111
255, that is the answer.



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-11-2008, 05:43 PM
Rashkae
 
Default ssh localhost without passphrase

Chaman Singh Verma wrote:
> Hello,
>
>>From the root window, I can do ssh localhost, but after that it ask for
> passphrase. How can I disallow passphrase recursively ?
>

What do you mean disallow passphrase recursively???

Note that the passphrase you are being asked for here is the passphrase
on your key file, and not the password for the root account on the
computer you are connected to....

You can't really disallow passphrased protected keys from the server.
In theory, the server doesn't even know whether the key being used was
passphrase protected or not.

You can use ssh-keygen to create a new key that is not passphrase
protected. This is considered less secure, because anyone who happens
to get a copy of your private key file could then abuse it. It is,
however, necessary to create such unprotected keys for certain special
cases (such as when you need to use an ssh key from within an
non-interative script, like rsnapshot, for example)



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-11-2008, 05:48 PM
"Karl F. Larsen"
 
Default ssh localhost without passphrase

Chaman Singh Verma wrote:
> Hello,
>
> From the root window, I can do ssh localhost, but after that it ask for
> passphrase. How can I disallow passphrase recursively ?
>
> May be the following output will clarify my doubt.
>
> csv610@blackhole:~$ ssh localhost
> Linux blackhole 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008 x86_64
>
> The programs included with the Ubuntu system are free software;
> the exact distribution terms for each program are described in the
> individual files in /usr/share/doc/*/copyright.
>
> Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
> applicable law.
>
> To access official Ubuntu documentation, please visit:
> http://help.ubuntu.com/
> Last login: Thu Dec 11 23:42:08 2008 from localhost
> csv610@blackhole:~$ ssh localhost
> Enter passphrase for key '/home/csv610/.ssh/id_rsa':
>
>
>
> Thanks.
> csv
>
>
As a user it gives:

karl@karl-hardy:~$ ssh localhost
ssh: connect to host localhost port 22: Connection refused

and as root I get:

karl@karl-hardy:~$ sudo ssh localhost
[sudo] password for karl:
ssh: connect to host localhost port 22: Connection refused
karl@karl-hardy:~$

So it seems it doesn't want to work.


Karl


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-11-2008, 05:52 PM
John Hubbard
 
Default ssh localhost without passphrase

Karl F. Larsen wrote:
> As a user it gives:
>
> karl@karl-hardy:~$ ssh localhost
> ssh: connect to host localhost port 22: Connection refused
>
> and as root I get:
>
> karl@karl-hardy:~$ sudo ssh localhost
> [sudo] password for karl:
> ssh: connect to host localhost port 22: Connection refused
> karl@karl-hardy:~$
>
> So it seems it doesn't want to work.
>
>
> Karl
>
>
Do you have the package openssh-server installed? It isn't installed by
default.


--
-john

To be or not to be, that is the question
2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
0b11000100 || !0b11000100
0b11000100 || 0b00111011
0b11111111
255, that is the answer.



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 08:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org