Jump to content

Top 30 SSH shenanigans


securitybreach

Recommended Posts

securitybreach
Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. The best known example application is for remote login to computer systems by users.

 

SSH provides a secure channel over an unsecured network in a client-server architecture, connecting an SSH client application with an SSH server. Common applications include remote command-line login and remote command execution, but any network service can be secured with SSH. The protocol specification distinguishes between two major versions, referred to as SSH-1 and SSH-2.

 

SSH is an awesome powerful tool, there are unlimited possibility when it comes to SSH. I’ve collected top 30 SSH shenanigans (or you can read SSH tips and tricks) that will are very handy.

 

1) Copy SSH public key on a remote machine for passwordless login

ssh-copy-id user@host

 

To generate the keys use the command ssh-keygen

 

2) Start a tunnel from some machine’s port 80 to your local post 2001

ssh -N -L2001:localhost:80 somemachine

 

Now you can acces the website by going to http://localhost:2001/

 

3) Output your microphone to a remote computer’s speaker

dd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp

................

 

https://www.blackmoreops.com/2016/11/08/top-30-ssh-shenanigans/

  • Like 4
Link to comment
Share on other sites

  • 1 month later...

Hey Securitybreach..... I bought a RaspberryPi a couple of years ago and discovered ssh and vnc. I'm still in the beginner stage so glad to see your post on the subject. The other day I was testing having X run over ssh. Kinda cool. I see in #3 is talks about outputting audio from your mic to remote computer speaker. I'll have to give that a try.

thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...