Title: I require Linux help... specifically SSH... Post by: Immanuel on September 08, 2010, 11:40:39 PM I am trying to create a SOCKs proxy on my local Bitcoin server. It ends up I have no idea what I am doing. I entered the following commands:
sudo ssh -ND 443 <my server's hostname>@<my ip address> sudo ssh -ND 9999 <my server's hostname>@<my ip address> I forwarded the ports on my router. In short, it doesn't work. How do I revert these commands? Title: Re: I require Linux help... specifically SSH... Post by: omegadraconis on September 09, 2010, 04:00:55 AM I am trying to create a SOCKs proxy on my local Bitcoin server. It ends up I have no idea what I am doing. I entered the following commands: sudo ssh -ND 443 <my server's hostname>@<my ip address> sudo ssh -ND 9999 <my server's hostname>@<my ip address> I forwarded the ports on my router. In short, it doesn't work. How do I revert these commands? Run "ps", that should list the processes running. Once you find the pid's of the commands above you can issue a "kill" command for the pid. You could also use "top" to see a list of the active processes on the system. Once in top if you hit k and then enter the pid it will kill the process. Title: Re: I require Linux help... specifically SSH... Post by: Immanuel on September 09, 2010, 01:08:39 PM I am trying to create a SOCKs proxy on my local Bitcoin server. It ends up I have no idea what I am doing. I entered the following commands: sudo ssh -ND 443 <my server's hostname>@<my ip address> sudo ssh -ND 9999 <my server's hostname>@<my ip address> I forwarded the ports on my router. In short, it doesn't work. How do I revert these commands? Run "ps", that should list the processes running. Once you find the pid's of the commands above you can issue a "kill" command for the pid. You could also use "top" to see a list of the active processes on the system. Once in top if you hit k and then enter the pid it will kill the process. Alright, I'll try this when I get home. Port 22 is blocked at my school. >_< Thank you! Title: Re: I require Linux help... specifically SSH... Post by: theymos on September 09, 2010, 01:39:55 PM Quote sudo ssh -ND 443 <my server's hostname>@<my ip address> sudo ssh -ND 9999 <my server's hostname>@<my ip address> You would run these commands with the SSH on the non-server computer. Then you'd connect to localhost:443 or localhost:9999 with SOCKS. Also, it's remoteUsername@remoteIP; you're connecting to the user at the IP. You could use antinat (http://antinat.sourceforge.net/) to set up a SOCKS server on your server. Then you wouldn't have to run SSH on the non-server computer. Title: Re: I require Linux help... specifically SSH... Post by: Immanuel on September 09, 2010, 01:46:37 PM Quote sudo ssh -ND 443 <my server's hostname>@<my ip address> sudo ssh -ND 9999 <my server's hostname>@<my ip address> You would run these commands with the SSH on the non-server computer. Then you'd connect to localhost:443 or localhost:9999 with SOCKS. Also, it's remoteUsername@remoteIP; you're connecting to the user at the IP. You could use antinat (http://antinat.sourceforge.net/) to set up a SOCKS server on your server. Then you wouldn't have to run SSH on the non-server computer. |