Koozali.org: home of the SME Server

server pptp

Offline mmccarn

  • *
  • 2,651
  • +10/-0
server pptp
« Reply #15 on: June 25, 2007, 03:20:40 PM »
Quote from: "[url=http://wiki.contribs.org/SSH_Public-Private_Keys#Changing_the_passphrase
The SSH Public-Private Key HowTo[/url]"]ssh-keygen -p
Enter file in which the key is (/home/e-smith/files/users/dummy/.ssh/id_rsa): [Enter to accept default key file]
Enter old passphrase: [Old passphrase]
Key has comment '/home/e-smith/files/users/dummy/.ssh/id_rsa'
Enter new passphrase (empty for no passphrase): [New passphrase]
Enter same passphrase again: [New passphrase]
Your identification has been saved with the new passphrase.

It looks as though you can have access with no passphrase by running ssh-keygen -p and not entering a new passphrase

Enter new passphrase (empty for no passphrase):

tomas

server pptp
« Reply #16 on: June 27, 2007, 10:32:14 AM »
Yes but I would like to keep the passphrase.

it's possible no?

Thanks for your help again

Offline Stefano

  • *
  • 10,894
  • +3/-0
server pptp
« Reply #17 on: June 27, 2007, 10:38:22 AM »
Quote from: "tomas"
Yes but I would like to keep the passphrase.

it's possible no?

Thanks for your help again


well

or silently or passphrase.. choose one :-)

Ciao
Stefano

Offline mmccarn

  • *
  • 2,651
  • +10/-0
server pptp
« Reply #18 on: June 27, 2007, 01:11:37 PM »
You can have a passphrase for one user and no passphrase for another if you enable shell login for another user account.

 Does that help?

tomas

server pptp
« Reply #19 on: July 05, 2007, 09:46:12 AM »
I think that I got the solution for to avoid me to get in the passphrases.

I would use "keychain" (http://www.gentoo.org/proj/en/keychain/#doc_chap3).

I attempt in type
Code: [Select]

   ssh-agent screen

   ssh-add ~/keys.rsa

   sh sauvegarde.sh

 
If I leave of the session it doesn't keep me the passphrase so I go to try to use "keychain".

What do you think ?

Thanks for your help again