Use netcat to tell a remote Mac to run/open a file
up vote
0
down vote
favorite
I have very limited (almost no) knowledge of how netcat works other than I've managed to get one Mac mini to listen on port 13370 [using nc -l 13370] (for TCP commands?) and I have a MacBook that has connected to the Mac mini using [nc 192.168.1.xxx 13370], and whatever I type in Terminal on the MacBook shows up (echoes?) on the Mac mini's Terminal.
I want to be able to tell the Mac mini to open a file (also stored on the Mac mini), from another device on the same LAN. So currently I'm using the MacBook, but ultimately I want to send commands from a home automation app that I am making, to for example play a video on the Mac mini which is connected to a TV screen. Or any other command that you could usually do in Terminal. My app cannot connect to the Mac mini using SSH which is why I'm trying this way.
What command would I need to send to open the file? IS there some format that I should use etc? Grateful for any help.
mac terminal tcp netcat
|
show 2 more comments
up vote
0
down vote
favorite
I have very limited (almost no) knowledge of how netcat works other than I've managed to get one Mac mini to listen on port 13370 [using nc -l 13370] (for TCP commands?) and I have a MacBook that has connected to the Mac mini using [nc 192.168.1.xxx 13370], and whatever I type in Terminal on the MacBook shows up (echoes?) on the Mac mini's Terminal.
I want to be able to tell the Mac mini to open a file (also stored on the Mac mini), from another device on the same LAN. So currently I'm using the MacBook, but ultimately I want to send commands from a home automation app that I am making, to for example play a video on the Mac mini which is connected to a TV screen. Or any other command that you could usually do in Terminal. My app cannot connect to the Mac mini using SSH which is why I'm trying this way.
What command would I need to send to open the file? IS there some format that I should use etc? Grateful for any help.
mac terminal tcp netcat
2
You can edit your question anytime.
– GabrielaGarcia
Nov 14 at 15:11
Thanks, edited.
– manaman
Nov 14 at 15:12
What is the reason that you cannot use SSH? Are you saying that you don't have access to SSH on one of the machines, or are you saying that your application can only send connections over a port?
– DKing
Nov 14 at 15:36
The application cannot connect using SSH. I've been advised by the software maker to use netcat / telnet etc. Yes I think it can only communicate over a port
– manaman
Nov 14 at 15:57
@manaman I have a script which uses netcat to do exactly this, but it's written in batch for Windows. Shouldn't take more than a few minutes to port it tho.
– rahuldottech
Nov 14 at 16:22
|
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have very limited (almost no) knowledge of how netcat works other than I've managed to get one Mac mini to listen on port 13370 [using nc -l 13370] (for TCP commands?) and I have a MacBook that has connected to the Mac mini using [nc 192.168.1.xxx 13370], and whatever I type in Terminal on the MacBook shows up (echoes?) on the Mac mini's Terminal.
I want to be able to tell the Mac mini to open a file (also stored on the Mac mini), from another device on the same LAN. So currently I'm using the MacBook, but ultimately I want to send commands from a home automation app that I am making, to for example play a video on the Mac mini which is connected to a TV screen. Or any other command that you could usually do in Terminal. My app cannot connect to the Mac mini using SSH which is why I'm trying this way.
What command would I need to send to open the file? IS there some format that I should use etc? Grateful for any help.
mac terminal tcp netcat
I have very limited (almost no) knowledge of how netcat works other than I've managed to get one Mac mini to listen on port 13370 [using nc -l 13370] (for TCP commands?) and I have a MacBook that has connected to the Mac mini using [nc 192.168.1.xxx 13370], and whatever I type in Terminal on the MacBook shows up (echoes?) on the Mac mini's Terminal.
I want to be able to tell the Mac mini to open a file (also stored on the Mac mini), from another device on the same LAN. So currently I'm using the MacBook, but ultimately I want to send commands from a home automation app that I am making, to for example play a video on the Mac mini which is connected to a TV screen. Or any other command that you could usually do in Terminal. My app cannot connect to the Mac mini using SSH which is why I'm trying this way.
What command would I need to send to open the file? IS there some format that I should use etc? Grateful for any help.
mac terminal tcp netcat
mac terminal tcp netcat
edited Nov 14 at 15:25
asked Nov 14 at 15:09
manaman
11
11
2
You can edit your question anytime.
– GabrielaGarcia
Nov 14 at 15:11
Thanks, edited.
– manaman
Nov 14 at 15:12
What is the reason that you cannot use SSH? Are you saying that you don't have access to SSH on one of the machines, or are you saying that your application can only send connections over a port?
– DKing
Nov 14 at 15:36
The application cannot connect using SSH. I've been advised by the software maker to use netcat / telnet etc. Yes I think it can only communicate over a port
– manaman
Nov 14 at 15:57
@manaman I have a script which uses netcat to do exactly this, but it's written in batch for Windows. Shouldn't take more than a few minutes to port it tho.
– rahuldottech
Nov 14 at 16:22
|
show 2 more comments
2
You can edit your question anytime.
– GabrielaGarcia
Nov 14 at 15:11
Thanks, edited.
– manaman
Nov 14 at 15:12
What is the reason that you cannot use SSH? Are you saying that you don't have access to SSH on one of the machines, or are you saying that your application can only send connections over a port?
– DKing
Nov 14 at 15:36
The application cannot connect using SSH. I've been advised by the software maker to use netcat / telnet etc. Yes I think it can only communicate over a port
– manaman
Nov 14 at 15:57
@manaman I have a script which uses netcat to do exactly this, but it's written in batch for Windows. Shouldn't take more than a few minutes to port it tho.
– rahuldottech
Nov 14 at 16:22
2
2
You can edit your question anytime.
– GabrielaGarcia
Nov 14 at 15:11
You can edit your question anytime.
– GabrielaGarcia
Nov 14 at 15:11
Thanks, edited.
– manaman
Nov 14 at 15:12
Thanks, edited.
– manaman
Nov 14 at 15:12
What is the reason that you cannot use SSH? Are you saying that you don't have access to SSH on one of the machines, or are you saying that your application can only send connections over a port?
– DKing
Nov 14 at 15:36
What is the reason that you cannot use SSH? Are you saying that you don't have access to SSH on one of the machines, or are you saying that your application can only send connections over a port?
– DKing
Nov 14 at 15:36
The application cannot connect using SSH. I've been advised by the software maker to use netcat / telnet etc. Yes I think it can only communicate over a port
– manaman
Nov 14 at 15:57
The application cannot connect using SSH. I've been advised by the software maker to use netcat / telnet etc. Yes I think it can only communicate over a port
– manaman
Nov 14 at 15:57
@manaman I have a script which uses netcat to do exactly this, but it's written in batch for Windows. Shouldn't take more than a few minutes to port it tho.
– rahuldottech
Nov 14 at 16:22
@manaman I have a script which uses netcat to do exactly this, but it's written in batch for Windows. Shouldn't take more than a few minutes to port it tho.
– rahuldottech
Nov 14 at 16:22
|
show 2 more comments
3 Answers
3
active
oldest
votes
up vote
0
down vote
The netcat
tool is simply a network connection tool. It can listen on any port and can connect to any port. It can output that information or even have data piped to it. It is a very useful too. Unfortunately, it only listens and sends information; it does not execute any commands itself. Therefore, netcat
is not the tool for what you are wanting to do. The same is true of telnet.
In order to run commands on a remote server, you would need some software that is running on that remote server which would accept those commands. The tool to use for executing commands on a remote server is SSH. The listening server would be running the SSHD daemon. You could go through the trouble of trying to find a way to hack into the server some other way, but since you have access to that device already, that would really be more trouble than it would be worth since SSH already exists.
You say that your application cannot connect to SSH, but if it has access to netcat
, then I would recommend using whatever access that is to gain access to SSH, and execute your commands from there.
If the way that you are connecting to netcat
is that you have it listening on a port and the only thing your application can do is to connect to that port, then what you are wanting is to make some sort of an API, or some software which can handle requests over a port and use them to execute commands on the terminal through SSH. I found this article with some suggestions for doing so in BASH:
https://unix.stackexchange.com/questions/314550/how-to-set-a-script-to-execute-when-a-port-receives-a-message
Once you are able to get the request into a shell script, you can either make that script execute your commands directly, or you could write additional scripts which are triggered by the listening software. I would have this software listening on the client, rather than on the remote server, and you could access it over localhost (127.0.0.1). Also, remember to add an SSH key so that your connection to the remote server would not require any passwords to be used. This article may help with that:
https://docs.joyent.com/public-cloud/getting-started/ssh-keys/generating-an-ssh-key-manually/manually-generating-your-ssh-key-in-mac-os-x
add a comment |
up vote
0
down vote
You can create a reverse shell on MacOS (on computer 1) like this:
bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1
And then connect to it from another computer (computer 2) using one of these netcat commands (depends on the implementation):
nc -l -p 1337
or
nc -l 1337
Now you can type in bash commands on computer 2 and they will get executed on the computer on which the remote shell is running (computer 1).
Computer 1 keeps saying 'connection refused' when I type bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1. Computer 2 IP address is static and is also a Mac...
– manaman
Nov 22 at 14:19
@manaman check your firewall, open port 1337
– rahuldottech
Nov 23 at 13:05
@manaman, also try running the commands for computer 2 before you run the commands for computer 1
– rahuldottech
Nov 23 at 13:13
add a comment |
up vote
0
down vote
Thanks everyone for your help on this, your help contributed after much trial and error to me eventually finding a way to do what I wanted. I decided in the end not to try and connect with the Mac itself via telnet, but rather the VLC app directly which has its own telnet server on port 4212. I kept getting 'connection refused' when trying to telnet to the Mac, but VLC on port 4212 connects fine, as long as a password is set in VLC.
Controlling VLC was the main thing I wanted to do so I am happy with this. My app is also able to send commands the same way the Mac client does via Terminal, so all good. Thanks once again everyone!
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The netcat
tool is simply a network connection tool. It can listen on any port and can connect to any port. It can output that information or even have data piped to it. It is a very useful too. Unfortunately, it only listens and sends information; it does not execute any commands itself. Therefore, netcat
is not the tool for what you are wanting to do. The same is true of telnet.
In order to run commands on a remote server, you would need some software that is running on that remote server which would accept those commands. The tool to use for executing commands on a remote server is SSH. The listening server would be running the SSHD daemon. You could go through the trouble of trying to find a way to hack into the server some other way, but since you have access to that device already, that would really be more trouble than it would be worth since SSH already exists.
You say that your application cannot connect to SSH, but if it has access to netcat
, then I would recommend using whatever access that is to gain access to SSH, and execute your commands from there.
If the way that you are connecting to netcat
is that you have it listening on a port and the only thing your application can do is to connect to that port, then what you are wanting is to make some sort of an API, or some software which can handle requests over a port and use them to execute commands on the terminal through SSH. I found this article with some suggestions for doing so in BASH:
https://unix.stackexchange.com/questions/314550/how-to-set-a-script-to-execute-when-a-port-receives-a-message
Once you are able to get the request into a shell script, you can either make that script execute your commands directly, or you could write additional scripts which are triggered by the listening software. I would have this software listening on the client, rather than on the remote server, and you could access it over localhost (127.0.0.1). Also, remember to add an SSH key so that your connection to the remote server would not require any passwords to be used. This article may help with that:
https://docs.joyent.com/public-cloud/getting-started/ssh-keys/generating-an-ssh-key-manually/manually-generating-your-ssh-key-in-mac-os-x
add a comment |
up vote
0
down vote
The netcat
tool is simply a network connection tool. It can listen on any port and can connect to any port. It can output that information or even have data piped to it. It is a very useful too. Unfortunately, it only listens and sends information; it does not execute any commands itself. Therefore, netcat
is not the tool for what you are wanting to do. The same is true of telnet.
In order to run commands on a remote server, you would need some software that is running on that remote server which would accept those commands. The tool to use for executing commands on a remote server is SSH. The listening server would be running the SSHD daemon. You could go through the trouble of trying to find a way to hack into the server some other way, but since you have access to that device already, that would really be more trouble than it would be worth since SSH already exists.
You say that your application cannot connect to SSH, but if it has access to netcat
, then I would recommend using whatever access that is to gain access to SSH, and execute your commands from there.
If the way that you are connecting to netcat
is that you have it listening on a port and the only thing your application can do is to connect to that port, then what you are wanting is to make some sort of an API, or some software which can handle requests over a port and use them to execute commands on the terminal through SSH. I found this article with some suggestions for doing so in BASH:
https://unix.stackexchange.com/questions/314550/how-to-set-a-script-to-execute-when-a-port-receives-a-message
Once you are able to get the request into a shell script, you can either make that script execute your commands directly, or you could write additional scripts which are triggered by the listening software. I would have this software listening on the client, rather than on the remote server, and you could access it over localhost (127.0.0.1). Also, remember to add an SSH key so that your connection to the remote server would not require any passwords to be used. This article may help with that:
https://docs.joyent.com/public-cloud/getting-started/ssh-keys/generating-an-ssh-key-manually/manually-generating-your-ssh-key-in-mac-os-x
add a comment |
up vote
0
down vote
up vote
0
down vote
The netcat
tool is simply a network connection tool. It can listen on any port and can connect to any port. It can output that information or even have data piped to it. It is a very useful too. Unfortunately, it only listens and sends information; it does not execute any commands itself. Therefore, netcat
is not the tool for what you are wanting to do. The same is true of telnet.
In order to run commands on a remote server, you would need some software that is running on that remote server which would accept those commands. The tool to use for executing commands on a remote server is SSH. The listening server would be running the SSHD daemon. You could go through the trouble of trying to find a way to hack into the server some other way, but since you have access to that device already, that would really be more trouble than it would be worth since SSH already exists.
You say that your application cannot connect to SSH, but if it has access to netcat
, then I would recommend using whatever access that is to gain access to SSH, and execute your commands from there.
If the way that you are connecting to netcat
is that you have it listening on a port and the only thing your application can do is to connect to that port, then what you are wanting is to make some sort of an API, or some software which can handle requests over a port and use them to execute commands on the terminal through SSH. I found this article with some suggestions for doing so in BASH:
https://unix.stackexchange.com/questions/314550/how-to-set-a-script-to-execute-when-a-port-receives-a-message
Once you are able to get the request into a shell script, you can either make that script execute your commands directly, or you could write additional scripts which are triggered by the listening software. I would have this software listening on the client, rather than on the remote server, and you could access it over localhost (127.0.0.1). Also, remember to add an SSH key so that your connection to the remote server would not require any passwords to be used. This article may help with that:
https://docs.joyent.com/public-cloud/getting-started/ssh-keys/generating-an-ssh-key-manually/manually-generating-your-ssh-key-in-mac-os-x
The netcat
tool is simply a network connection tool. It can listen on any port and can connect to any port. It can output that information or even have data piped to it. It is a very useful too. Unfortunately, it only listens and sends information; it does not execute any commands itself. Therefore, netcat
is not the tool for what you are wanting to do. The same is true of telnet.
In order to run commands on a remote server, you would need some software that is running on that remote server which would accept those commands. The tool to use for executing commands on a remote server is SSH. The listening server would be running the SSHD daemon. You could go through the trouble of trying to find a way to hack into the server some other way, but since you have access to that device already, that would really be more trouble than it would be worth since SSH already exists.
You say that your application cannot connect to SSH, but if it has access to netcat
, then I would recommend using whatever access that is to gain access to SSH, and execute your commands from there.
If the way that you are connecting to netcat
is that you have it listening on a port and the only thing your application can do is to connect to that port, then what you are wanting is to make some sort of an API, or some software which can handle requests over a port and use them to execute commands on the terminal through SSH. I found this article with some suggestions for doing so in BASH:
https://unix.stackexchange.com/questions/314550/how-to-set-a-script-to-execute-when-a-port-receives-a-message
Once you are able to get the request into a shell script, you can either make that script execute your commands directly, or you could write additional scripts which are triggered by the listening software. I would have this software listening on the client, rather than on the remote server, and you could access it over localhost (127.0.0.1). Also, remember to add an SSH key so that your connection to the remote server would not require any passwords to be used. This article may help with that:
https://docs.joyent.com/public-cloud/getting-started/ssh-keys/generating-an-ssh-key-manually/manually-generating-your-ssh-key-in-mac-os-x
answered Nov 14 at 16:14
DKing
24018
24018
add a comment |
add a comment |
up vote
0
down vote
You can create a reverse shell on MacOS (on computer 1) like this:
bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1
And then connect to it from another computer (computer 2) using one of these netcat commands (depends on the implementation):
nc -l -p 1337
or
nc -l 1337
Now you can type in bash commands on computer 2 and they will get executed on the computer on which the remote shell is running (computer 1).
Computer 1 keeps saying 'connection refused' when I type bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1. Computer 2 IP address is static and is also a Mac...
– manaman
Nov 22 at 14:19
@manaman check your firewall, open port 1337
– rahuldottech
Nov 23 at 13:05
@manaman, also try running the commands for computer 2 before you run the commands for computer 1
– rahuldottech
Nov 23 at 13:13
add a comment |
up vote
0
down vote
You can create a reverse shell on MacOS (on computer 1) like this:
bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1
And then connect to it from another computer (computer 2) using one of these netcat commands (depends on the implementation):
nc -l -p 1337
or
nc -l 1337
Now you can type in bash commands on computer 2 and they will get executed on the computer on which the remote shell is running (computer 1).
Computer 1 keeps saying 'connection refused' when I type bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1. Computer 2 IP address is static and is also a Mac...
– manaman
Nov 22 at 14:19
@manaman check your firewall, open port 1337
– rahuldottech
Nov 23 at 13:05
@manaman, also try running the commands for computer 2 before you run the commands for computer 1
– rahuldottech
Nov 23 at 13:13
add a comment |
up vote
0
down vote
up vote
0
down vote
You can create a reverse shell on MacOS (on computer 1) like this:
bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1
And then connect to it from another computer (computer 2) using one of these netcat commands (depends on the implementation):
nc -l -p 1337
or
nc -l 1337
Now you can type in bash commands on computer 2 and they will get executed on the computer on which the remote shell is running (computer 1).
You can create a reverse shell on MacOS (on computer 1) like this:
bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1
And then connect to it from another computer (computer 2) using one of these netcat commands (depends on the implementation):
nc -l -p 1337
or
nc -l 1337
Now you can type in bash commands on computer 2 and they will get executed on the computer on which the remote shell is running (computer 1).
answered Nov 14 at 16:53
rahuldottech
3,30932547
3,30932547
Computer 1 keeps saying 'connection refused' when I type bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1. Computer 2 IP address is static and is also a Mac...
– manaman
Nov 22 at 14:19
@manaman check your firewall, open port 1337
– rahuldottech
Nov 23 at 13:05
@manaman, also try running the commands for computer 2 before you run the commands for computer 1
– rahuldottech
Nov 23 at 13:13
add a comment |
Computer 1 keeps saying 'connection refused' when I type bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1. Computer 2 IP address is static and is also a Mac...
– manaman
Nov 22 at 14:19
@manaman check your firewall, open port 1337
– rahuldottech
Nov 23 at 13:05
@manaman, also try running the commands for computer 2 before you run the commands for computer 1
– rahuldottech
Nov 23 at 13:13
Computer 1 keeps saying 'connection refused' when I type bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1. Computer 2 IP address is static and is also a Mac...
– manaman
Nov 22 at 14:19
Computer 1 keeps saying 'connection refused' when I type bash -i >& /dev/tcp/ip-address-of-computer-2/1337 0>&1. Computer 2 IP address is static and is also a Mac...
– manaman
Nov 22 at 14:19
@manaman check your firewall, open port 1337
– rahuldottech
Nov 23 at 13:05
@manaman check your firewall, open port 1337
– rahuldottech
Nov 23 at 13:05
@manaman, also try running the commands for computer 2 before you run the commands for computer 1
– rahuldottech
Nov 23 at 13:13
@manaman, also try running the commands for computer 2 before you run the commands for computer 1
– rahuldottech
Nov 23 at 13:13
add a comment |
up vote
0
down vote
Thanks everyone for your help on this, your help contributed after much trial and error to me eventually finding a way to do what I wanted. I decided in the end not to try and connect with the Mac itself via telnet, but rather the VLC app directly which has its own telnet server on port 4212. I kept getting 'connection refused' when trying to telnet to the Mac, but VLC on port 4212 connects fine, as long as a password is set in VLC.
Controlling VLC was the main thing I wanted to do so I am happy with this. My app is also able to send commands the same way the Mac client does via Terminal, so all good. Thanks once again everyone!
add a comment |
up vote
0
down vote
Thanks everyone for your help on this, your help contributed after much trial and error to me eventually finding a way to do what I wanted. I decided in the end not to try and connect with the Mac itself via telnet, but rather the VLC app directly which has its own telnet server on port 4212. I kept getting 'connection refused' when trying to telnet to the Mac, but VLC on port 4212 connects fine, as long as a password is set in VLC.
Controlling VLC was the main thing I wanted to do so I am happy with this. My app is also able to send commands the same way the Mac client does via Terminal, so all good. Thanks once again everyone!
add a comment |
up vote
0
down vote
up vote
0
down vote
Thanks everyone for your help on this, your help contributed after much trial and error to me eventually finding a way to do what I wanted. I decided in the end not to try and connect with the Mac itself via telnet, but rather the VLC app directly which has its own telnet server on port 4212. I kept getting 'connection refused' when trying to telnet to the Mac, but VLC on port 4212 connects fine, as long as a password is set in VLC.
Controlling VLC was the main thing I wanted to do so I am happy with this. My app is also able to send commands the same way the Mac client does via Terminal, so all good. Thanks once again everyone!
Thanks everyone for your help on this, your help contributed after much trial and error to me eventually finding a way to do what I wanted. I decided in the end not to try and connect with the Mac itself via telnet, but rather the VLC app directly which has its own telnet server on port 4212. I kept getting 'connection refused' when trying to telnet to the Mac, but VLC on port 4212 connects fine, as long as a password is set in VLC.
Controlling VLC was the main thing I wanted to do so I am happy with this. My app is also able to send commands the same way the Mac client does via Terminal, so all good. Thanks once again everyone!
answered Nov 25 at 0:07
manaman
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1375357%2fuse-netcat-to-tell-a-remote-mac-to-run-open-a-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
You can edit your question anytime.
– GabrielaGarcia
Nov 14 at 15:11
Thanks, edited.
– manaman
Nov 14 at 15:12
What is the reason that you cannot use SSH? Are you saying that you don't have access to SSH on one of the machines, or are you saying that your application can only send connections over a port?
– DKing
Nov 14 at 15:36
The application cannot connect using SSH. I've been advised by the software maker to use netcat / telnet etc. Yes I think it can only communicate over a port
– manaman
Nov 14 at 15:57
@manaman I have a script which uses netcat to do exactly this, but it's written in batch for Windows. Shouldn't take more than a few minutes to port it tho.
– rahuldottech
Nov 14 at 16:22