Adding files
This commit is contained in:
commit
532e9d266e
10
encrypt-file.ksh
Executable file
10
encrypt-file.ksh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/ksh
|
||||
|
||||
echo -n "File: "
|
||||
read file
|
||||
|
||||
touch $file
|
||||
|
||||
gpg -c $file
|
||||
|
||||
exit 0
|
11
ls_remote.ksh
Executable file
11
ls_remote.ksh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/ksh
|
||||
|
||||
echo -n "Remote user: "
|
||||
read remote_user
|
||||
|
||||
echo -n "Host: "
|
||||
read host
|
||||
|
||||
mosh $remote_user@$host ls
|
||||
|
||||
exit 0
|
11
pwd_remote.ksh
Executable file
11
pwd_remote.ksh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/ksh
|
||||
|
||||
echo -n "Remote user: "
|
||||
read remote_user
|
||||
|
||||
echo -n "Host: "
|
||||
read host
|
||||
|
||||
mosh $remote_user@$host pwd
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user