Created
March 23, 2015 10:41
-
-
Save zmiftah/bc6bb6b25ab2b5df1152 to your computer and use it in GitHub Desktop.
Linux Command : Kill Process SSH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps -ax | grep ssh | |
/* Result | |
886 pts/3 S+ 0:00 grep --color=auto ssh | |
1016 ? Ss 0:00 /usr/sbin/sshd -D | |
3783 pts/5 S 0:37 ssh -x -a -oClearAllForwardings=yes -2 [email protected] -s sftp | |
3835 ? Ssl 1:05 sshfs [email protected]:/home/project /mnt/pkpu_pro | |
*/ | |
sudo kill -9 886 1016 3783 3835 | |
sudo umount /mnt/pkpu_project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment