Bitcoin Forum
May 25, 2022, 04:36:21 AM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I require Linux help... specifically SSH...  (Read 2343 times)
Immanuel
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
September 08, 2010, 11:40:39 PM
 #1

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?

"I swear by my life, and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine."
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
omegadraconis
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
September 09, 2010, 04:00:55 AM
 #2

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.
Immanuel
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
September 09, 2010, 01:08:39 PM
 #3

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!

"I swear by my life, and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine."
theymos
Administrator
Legendary
*
Offline Offline

Activity: 4494
Merit: 9634


View Profile
September 09, 2010, 01:39:55 PM
 #4

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 to set up a SOCKS server on your server. Then you wouldn't have to run SSH on the non-server computer.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Immanuel
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
September 09, 2010, 01:46:37 PM
 #5

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 to set up a SOCKS server on your server. Then you wouldn't have to run SSH on the non-server computer.
Yeah, I see where I am going wrong. Thanks!

"I swear by my life, and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine."
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!