*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
...
- You need to have ssh keys set up so you can get to the other machine without a password prompt
- one easy way to do this is set up the drush command 'pushkey'
- read all about it: https://www.drupal.org/project/drush_extras
PUSHKEY drush pushkey user@host.domain.com Creates an ssh public/private key pair in $HOME/.ssh, if one does not already exist, and then pushes the public key to the specified remote account. The password for the destination account must be entered once to push the key over; after the key has been stored on the remote system, subsequent ssh and remote drush commands may be executed using the public/private key pair for authentication. IN DRUSH EXTRAS because is is Linux / openssl-specific.- install it in your user's drush
- log in to victoria02
drush dl drush_extras
use it
- log in to victoria02
- drush pushkey nid123@victoria01.library.cornell.edu
- prompts for password on victoria01 one time
- now try
- ssh nid123@victoria01.library.cornell.edu
- no password prompt, right?
once the ssh keys are set up, you can avoid lots of extra
Enter passphrase for key '/home/user/.ssh/id_rsa'prompts by using this command:
ssh-addSee this: http://blog.joncairns.com/2013/12/understanding-ssh-agent-and-ssh-add/
How to get the latest versions of the scripts
...