Skip to content
/ scpwd Public

secure copy pwd - quickly echo scp path including username@hostname and optional filename

License

Notifications You must be signed in to change notification settings

usrflo/scpwd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scpwd

secure copy pwd - quickly echo scp path including username@hostname and optional filename for productivity.

Screen Demo

Samples

/etc/ $ scpwd
me@myserver.example.tld:/etc
/etc/ $ scpwd /opt/
me@myserver.example.tld:/opt
/etc/ $ scpwd my.conf
me@myserver.example.tld:/etc/my.conf
/etc/ $ scpwd /usr/local/etc/my.conf
me@myserver.example.tld:/usr/local/etc/my.conf
/etc/ $ scpwd ../usr/local/etc/my.conf
me@myserver.example.tld:/usr/local/etc/my.conf

Optional user config file

The external username and hostname may differ from local settings. Place a file named .scpwd in a user's home directory to override the locally determined user@hostname with

LOGIN=someuser@someproxy.example.tld

Florian Sager, sager@agitos.de, 2021-02-25, MIT license

About

secure copy pwd - quickly echo scp path including username@hostname and optional filename

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages