add passphrase to ssh agent?
Shell
#!/usr/bin/expect -f
spawn ssh-add /home/user/.ssh/id_rsa
expect "Enter passphrase for /home/user/.ssh/id_rsa:"
send "passphrase\n";
expect "Identity added: /home/user/.ssh/id_rsa (/home/user/.ssh/id_rsa)"
interact
#!/usr/local/bin/expect
spawn sftp -b cmdFile [email protected]
expect "password:"
send "shhh!\n";
interact
Also in Shell:
- Title
- ssl erzwingen htaccess
- Category
- Shell
- Title
- how to insert a delimiter into an array powershell
- Category
- Shell
- Title
- debian install vim
- Category
- Shell
- Title
- iterm full screen cmd
- Category
- Shell
- Title
- linux head command
- Category
- Shell
- Title
- remove debian gnu/linux - continue with install process
- Category
- Shell
- Title
- how to upload files to s3 bucket from mac shell
- Category
- Shell
- Title
- force git to use ssh
- Category
- Shell
- Title
- install wireguard
- Category
- Shell
- Title
- conda activate env
- Category
- Shell
- Title
- rails no migration with version number
- Category
- Shell
- Title
- connect to windows 10 remote desktop from ubuntu
- Category
- Shell
- Title
- BDD framework in testcomplete github
- Category
- Shell
- Title
- remove remote git
- Category
- Shell
- Title
- how to install cab file in ubuntu
- Category
- Shell
- Title
- linux copy
- Category
- Shell
- Title
- special bash variables
- Category
- Shell
- Title
- check if kubernetes is running
- Category
- Shell
- Title
- git how to see changes made by a commit
- Category
- Shell
- Title
- Load key ".pem": bad permissions
- Category
- Shell
- Title
- linux create file
- Category
- Shell
- Title
- recursive grep recursion depth
- Category
- Shell
- Title
- julia install linux
- Category
- Shell
- Title
- vagrant 16
- Category
- Shell
- Title
- git remove remote
- Category
- Shell
- Title
- git reset hard
- Category
- Shell
- Title
- nano edit a file
- Category
- Shell
- Title
- bash tee stdout and stderr
- Category
- Shell
- Title
- service dead but pid file exists
- Category
- Shell
- Title
- usr/bin/env: ‘node’: No such file or directory
- Category
- Shell
- Title
- fleet management software github
- Category
- Shell
- Title
- how to launch a project from gitlab to intellij
- Category
- Shell
- Title
- zip current directory mac command line
- Category
- Shell
- Title
- install pybind ubuntu
- Category
- Shell
- Title
- add credentials to git
- Category
- Shell
- Title
- how to download youtube video in linux
- Category
- Shell
- Title
- installing git on mac
- Category
- Shell
- Title
- connect to git repo with ssh-rsa
- Category
- Shell
- Title
- linux shell loop through all inputs except last
- Category
- Shell
- Title
- réinstaller interface graphique debian
- Category
- Shell
- Title
- register runner gitlab
- Category
- Shell
- Title
- bash generate random number between
- Category
- Shell
- Title
- install tensorflow
- Category
- Shell
- Title
- hide hidden files mac
- Category
- Shell
- Title
- iis restart cfrom command promt windows
- Category
- Shell
- Title
- dnstwist kali linux
- Category
- Shell
- Title
- send file to aws ec2 termnal
- Category
- Shell
- Title
- delete local branch git
- Category
- Shell
- Title
- gatsby image
- Category
- Shell
- Title
- Pyrit download command for linux
- Category
- Shell
- Title
- list all files in a directory and subdirectory linux
- Category
- Shell
- Title
- remove systemd service
- Category
- Shell
- Title
- store result of command in variable bash
- Category
- Shell
- Title
- docker exc into mongo shell
- Category
- Shell
- Title
- git create new branch
- Category
- Shell
- Title
- undo git add
- Category
- Shell
- Title
- delete a github repository using bash
- Category
- Shell
- Title
- install ext-soap
- Category
- Shell
- Title
- does Ubuntu MATE have ssh
- Category
- Shell
- Title
- composer drupal install
- Category
- Shell
- Title
- shell file in linux
- Category
- Shell
- Title
- git create new branch from current
- Category
- Shell
- Title
- delete git origin
- Category
- Shell
- Title
- git set upstream
- Category
- Shell
- Title
- git config core.autocrlf true
- Category
- Shell
- Title
- Could not install Visual Studio Build Tools.
- Category
- Shell
- Title
- How do I show the changes which have been staged
- Category
- Shell
- Title
- linux replace string in files recursively
- Category
- Shell
- Title
- wmv to mp4 ffmpeg
- Category
- Shell
- Title
- install snap change in progress ubuntu
- Category
- Shell
- Title
- undo add stage git
- Category
- Shell
- Title
- git add gitignore
- Category
- Shell
- Title
- passport deploy to server
- Category
- Shell
- Title
- webpack uninstall npm
- Category
- Shell
- Title
- install chromedriver linux command line
- Category
- Shell
- Title
- how to pip install in folder
- Category
- Shell
- Title
- restore deleted branch git
- Category
- Shell
- Title
- ubuntu install git
- Category
- Shell
- Title
- codepush get keys
- Category
- Shell
- Title
- how to generate ssh key in linux
- Category
- Shell
- Title
- gnome-shell turn off
- Category
- Shell
- Title
- powershell get all computers in ou
- Category
- Shell
- Title
- docker getting-started
- Category
- Shell
- Title
- kill a port
- Category
- Shell
- Title
- pycharm duplicate line
- Category
- Shell
- Title
- show rights inside folder debian
- Category
- Shell
- Title
- download images from url terminal
- Category
- Shell
- Title
- revert git add
- Category
- Shell
- Title
- The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file
- Category
- Shell
- Title
- install imblearn
- Category
- Shell
- Title
- circleci skip
- Category
- Shell
- Title
- git bisect
- Category
- Shell
- Title
- install npm globally
- Category
- Shell
- Title
- ubuntu camera not longer found
- Category
- Shell
- Title
- git commit
- Category
- Shell
- Title
- clone a given branch github
- Category
- Shell
- Title
- git undo merge
- Category
- Shell
- Title
- updated gitignore not working
- Category
- Shell
- Title
- how to make a tarball in linux
- Category
- Shell
- Title
- ubuntu command history
- Category
- Shell