dot/.config/fish/functions/vpssh.fish

4 lines
626 B
Fish
Raw Normal View History

2023-04-15 17:20:42 +02:00
function vpssh --wraps='sshfs phil@46.38.232.163:/srv/ vps-srv -p 2222 -o identityFile=~/.ssh/id_ed25519_nopass -o reconnect' --wraps='sshfs phil@46.38.232.163:/srv/ ~/remote/vps-srv -p 22 -o identityFile=~/.ssh/id_ed25519_nopass -o reconnect' --wraps='sshfs phil@46.38.232.163:/srv/ ~/remote/vps-srv -p 2222 -o identityFile=~/.ssh/id_ed25519_nopass -o reconnect' --description 'alias vpssh sshfs phil@46.38.232.163:/srv/ ~/remote/vps-srv -p 2222 -o identityFile=~/.ssh/id_ed25519_nopass -o reconnect'
sshfs phil@46.38.232.163:/srv/ ~/remote/vps-srv -p 2222 -o identityFile=~/.ssh/id_ed25519_nopass -o reconnect $argv;
end