Skip to content

Files

Latest commit

d6321bb · Nov 15, 2021

History

History
25 lines (17 loc) · 566 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 566 Bytes

PSH - Automate SSH login

feature

  • auto-fill password
  • glob connection name match
  • other ssh options
  • scp support

How to use

1.write your own pconfig file in ~/.ssh/pconfig, example: ./pconfig.example

2.make psh && make install_psh

3.make pscp && make install_pscp

4.(first time) psh -complete && pscp -complete to install bash/zsh auto_completion, this step will append a few lines to your ~/.bashrc or ~/.zshrc

5.Use it !

psh server1

pscp server1:/root/file_to_download.py .
pscp ./file_to_upload.py server1:/root/