Run terminal command on a server
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have a linux machine and I'm connecting to a server using its IP address. I go to the finder (Nautilus) address bar and type smb://xxx.xxx.xxx.xxx
then it asks for my credentials and I enter then then the server is mounted and I have access to its folders.
I wonder how I can run a terminal command on the server from the linux machine? The reason me wanting this is that I want to run iPerf
on both the server and linux machine so I can check the transfer speed between the linux machine and the server.
networking terminal remote file-transfer file-server
add a comment |Â
up vote
1
down vote
favorite
I have a linux machine and I'm connecting to a server using its IP address. I go to the finder (Nautilus) address bar and type smb://xxx.xxx.xxx.xxx
then it asks for my credentials and I enter then then the server is mounted and I have access to its folders.
I wonder how I can run a terminal command on the server from the linux machine? The reason me wanting this is that I want to run iPerf
on both the server and linux machine so I can check the transfer speed between the linux machine and the server.
networking terminal remote file-transfer file-server
@roaima I go to the finder (Nautilis) address bar and type smb://xxx.xxx.xxx.xxx then it asks for my credentials and I enter then then the server is mounted and I have access to its folders.
â Tak
Mar 7 at 9:03
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a linux machine and I'm connecting to a server using its IP address. I go to the finder (Nautilus) address bar and type smb://xxx.xxx.xxx.xxx
then it asks for my credentials and I enter then then the server is mounted and I have access to its folders.
I wonder how I can run a terminal command on the server from the linux machine? The reason me wanting this is that I want to run iPerf
on both the server and linux machine so I can check the transfer speed between the linux machine and the server.
networking terminal remote file-transfer file-server
I have a linux machine and I'm connecting to a server using its IP address. I go to the finder (Nautilus) address bar and type smb://xxx.xxx.xxx.xxx
then it asks for my credentials and I enter then then the server is mounted and I have access to its folders.
I wonder how I can run a terminal command on the server from the linux machine? The reason me wanting this is that I want to run iPerf
on both the server and linux machine so I can check the transfer speed between the linux machine and the server.
networking terminal remote file-transfer file-server
edited Mar 7 at 9:04
roaima
39.5k545107
39.5k545107
asked Mar 7 at 8:56
Tak
261413
261413
@roaima I go to the finder (Nautilis) address bar and type smb://xxx.xxx.xxx.xxx then it asks for my credentials and I enter then then the server is mounted and I have access to its folders.
â Tak
Mar 7 at 9:03
add a comment |Â
@roaima I go to the finder (Nautilis) address bar and type smb://xxx.xxx.xxx.xxx then it asks for my credentials and I enter then then the server is mounted and I have access to its folders.
â Tak
Mar 7 at 9:03
@roaima I go to the finder (Nautilis) address bar and type smb://xxx.xxx.xxx.xxx then it asks for my credentials and I enter then then the server is mounted and I have access to its folders.
â Tak
Mar 7 at 9:03
@roaima I go to the finder (Nautilis) address bar and type smb://xxx.xxx.xxx.xxx then it asks for my credentials and I enter then then the server is mounted and I have access to its folders.
â Tak
Mar 7 at 9:03
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
If your server is set up for remote access just use the ssh
command locally:
ssh xxx.xxx.xxx.xxx
You might need to specify the remote username if it's not the same as the one you use locally:
ssh remoteuser@xxx.xxx.xxx.xxx
For further details there are many, many tutorials available on using ssh
(and of course the man pages, such as man ssh
).
I tried both and I get this message "The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established"
â Tak
Mar 7 at 9:10
@Tak that's right. It can't. That's why the next but one line asks, "Are you sure you want to continue connecting (yes/no)?".
â roaima
Mar 7 at 13:48
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
If your server is set up for remote access just use the ssh
command locally:
ssh xxx.xxx.xxx.xxx
You might need to specify the remote username if it's not the same as the one you use locally:
ssh remoteuser@xxx.xxx.xxx.xxx
For further details there are many, many tutorials available on using ssh
(and of course the man pages, such as man ssh
).
I tried both and I get this message "The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established"
â Tak
Mar 7 at 9:10
@Tak that's right. It can't. That's why the next but one line asks, "Are you sure you want to continue connecting (yes/no)?".
â roaima
Mar 7 at 13:48
add a comment |Â
up vote
1
down vote
If your server is set up for remote access just use the ssh
command locally:
ssh xxx.xxx.xxx.xxx
You might need to specify the remote username if it's not the same as the one you use locally:
ssh remoteuser@xxx.xxx.xxx.xxx
For further details there are many, many tutorials available on using ssh
(and of course the man pages, such as man ssh
).
I tried both and I get this message "The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established"
â Tak
Mar 7 at 9:10
@Tak that's right. It can't. That's why the next but one line asks, "Are you sure you want to continue connecting (yes/no)?".
â roaima
Mar 7 at 13:48
add a comment |Â
up vote
1
down vote
up vote
1
down vote
If your server is set up for remote access just use the ssh
command locally:
ssh xxx.xxx.xxx.xxx
You might need to specify the remote username if it's not the same as the one you use locally:
ssh remoteuser@xxx.xxx.xxx.xxx
For further details there are many, many tutorials available on using ssh
(and of course the man pages, such as man ssh
).
If your server is set up for remote access just use the ssh
command locally:
ssh xxx.xxx.xxx.xxx
You might need to specify the remote username if it's not the same as the one you use locally:
ssh remoteuser@xxx.xxx.xxx.xxx
For further details there are many, many tutorials available on using ssh
(and of course the man pages, such as man ssh
).
answered Mar 7 at 9:06
roaima
39.5k545107
39.5k545107
I tried both and I get this message "The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established"
â Tak
Mar 7 at 9:10
@Tak that's right. It can't. That's why the next but one line asks, "Are you sure you want to continue connecting (yes/no)?".
â roaima
Mar 7 at 13:48
add a comment |Â
I tried both and I get this message "The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established"
â Tak
Mar 7 at 9:10
@Tak that's right. It can't. That's why the next but one line asks, "Are you sure you want to continue connecting (yes/no)?".
â roaima
Mar 7 at 13:48
I tried both and I get this message "The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established"
â Tak
Mar 7 at 9:10
I tried both and I get this message "The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established"
â Tak
Mar 7 at 9:10
@Tak that's right. It can't. That's why the next but one line asks, "Are you sure you want to continue connecting (yes/no)?".
â roaima
Mar 7 at 13:48
@Tak that's right. It can't. That's why the next but one line asks, "Are you sure you want to continue connecting (yes/no)?".
â roaima
Mar 7 at 13:48
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f428694%2frun-terminal-command-on-a-server%23new-answer', 'question_page');
);
Post as a guest
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
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
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
@roaima I go to the finder (Nautilis) address bar and type smb://xxx.xxx.xxx.xxx then it asks for my credentials and I enter then then the server is mounted and I have access to its folders.
â Tak
Mar 7 at 9:03