Run terminal command on a server

The name of the pictureThe name of the pictureThe name of the pictureClash 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.







share|improve this question






















  • @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














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.







share|improve this question






















  • @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












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.







share|improve this question














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.









share|improve this question













share|improve this question




share|improve this question








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
















  • @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










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).






share|improve this answer




















  • 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










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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






























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).






share|improve this answer




















  • 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














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).






share|improve this answer




















  • 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












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).






share|improve this answer












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).







share|improve this answer












share|improve this answer



share|improve this answer










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
















  • 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












 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay