How do I run a .sh script already on the remote server through telnet from a different computer ...

Seek and ye shall find

Check if a string is entirely made of the same substring

Do I need to protect SFP ports and optics from dust/contaminants? If so, how?

Will I lose my paid in full property

How to not starve gigantic beasts

What is the term for a person whose job is to place products on shelves in stores?

All ASCII characters with a given bit count

Why does the Cisco show run command not show the full version, while the show version command does?

Why did C use the -> operator instead of reusing the . operator?

Why did Israel vote against lifting the American embargo on Cuba?

Is it acceptable to use working hours to read general interest books?

Map material from china not allowed to leave the country

Where did Arya get these scars?

What is the least dense liquid under normal conditions?

What's parked in Mil Moscow helicopter plant?

Can you stand up from being prone using Skirmisher outside of your turn?

"Rubric" as meaning "signature" or "personal mark" -- is this accepted usage?

What is /etc/mtab in Linux?

"My boss was furious with me and I have been fired" vs. "My boss was furious with me and I was fired"

Raising a bilingual kid. When should we introduce the majority language?

What is this word supposed to be?

Expansion//Explosion and Siren Stormtamer

Why isn't everyone flabbergasted about Bran's "gift"?

My admission is revoked after accepting the admission offer



How do I run a .sh script already on the remote server through telnet from a different computer



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionExecute remote commands, completely detaching from the ssh connectionSynchronize the files from One folder of a Server to otherShell script to validate mount point status in the linux serverHow to compress and transfer folders from one server to another over networkExpect script + automated telnet process between three Linux machinesShell Script - how to scp into remote server and download files and protect passwordFetching Remote Windows System Information From Linux ServerWhy would a user not be able to delete a file they createdExpect script for copying fileScript to shutdown ExpressVPN through the Terminal on computer shutdown





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







-1















I need to do the following:
1. There are two linux-based servers, server-1 and server-2.
2. The only way to access server-2 is by logging into server-1 and using ftp to transfer files etc. to server-2.
3. I need to copy a folder called antivirusFiles(it contains. bat files, a .sh script and other .bmp files etc.) to server-2.
4. run the .sh script.



How do I do this?










share|improve this question









New contributor




Anurag Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • You say ‘‘The only way to access server-2 is by logging into server-1 and using ftp to transfer files etc. to server-2.’’  But you ask ‘‘How do I blah blah blah on the remote server through telnet?’’ By your own statements: you don’t.

    – G-Man
    28 mins ago


















-1















I need to do the following:
1. There are two linux-based servers, server-1 and server-2.
2. The only way to access server-2 is by logging into server-1 and using ftp to transfer files etc. to server-2.
3. I need to copy a folder called antivirusFiles(it contains. bat files, a .sh script and other .bmp files etc.) to server-2.
4. run the .sh script.



How do I do this?










share|improve this question









New contributor




Anurag Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • You say ‘‘The only way to access server-2 is by logging into server-1 and using ftp to transfer files etc. to server-2.’’  But you ask ‘‘How do I blah blah blah on the remote server through telnet?’’ By your own statements: you don’t.

    – G-Man
    28 mins ago














-1












-1








-1








I need to do the following:
1. There are two linux-based servers, server-1 and server-2.
2. The only way to access server-2 is by logging into server-1 and using ftp to transfer files etc. to server-2.
3. I need to copy a folder called antivirusFiles(it contains. bat files, a .sh script and other .bmp files etc.) to server-2.
4. run the .sh script.



How do I do this?










share|improve this question









New contributor




Anurag Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I need to do the following:
1. There are two linux-based servers, server-1 and server-2.
2. The only way to access server-2 is by logging into server-1 and using ftp to transfer files etc. to server-2.
3. I need to copy a folder called antivirusFiles(it contains. bat files, a .sh script and other .bmp files etc.) to server-2.
4. run the .sh script.



How do I do this?







scripting telnet






share|improve this question









New contributor




Anurag Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Anurag Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 1 hour ago









Rui F Ribeiro

42.3k1485143




42.3k1485143






New contributor




Anurag Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 1 hour ago









Anurag GuptaAnurag Gupta

1




1




New contributor




Anurag Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Anurag Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Anurag Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • You say ‘‘The only way to access server-2 is by logging into server-1 and using ftp to transfer files etc. to server-2.’’  But you ask ‘‘How do I blah blah blah on the remote server through telnet?’’ By your own statements: you don’t.

    – G-Man
    28 mins ago



















  • You say ‘‘The only way to access server-2 is by logging into server-1 and using ftp to transfer files etc. to server-2.’’  But you ask ‘‘How do I blah blah blah on the remote server through telnet?’’ By your own statements: you don’t.

    – G-Man
    28 mins ago

















You say ‘‘The only way to access server-2 is by logging into server-1 and using ftp to transfer files etc. to server-2.’’  But you ask ‘‘How do I blah blah blah on the remote server through telnet?’’ By your own statements: you don’t.

– G-Man
28 mins ago





You say ‘‘The only way to access server-2 is by logging into server-1 and using ftp to transfer files etc. to server-2.’’  But you ask ‘‘How do I blah blah blah on the remote server through telnet?’’ By your own statements: you don’t.

– G-Man
28 mins ago










0






active

oldest

votes












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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Anurag Gupta is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f515374%2fhow-do-i-run-a-sh-script-already-on-the-remote-server-through-telnet-from-a-dif%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Anurag Gupta is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Anurag Gupta is a new contributor. Be nice, and check out our Code of Conduct.













Anurag Gupta is a new contributor. Be nice, and check out our Code of Conduct.












Anurag Gupta is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Unix & Linux Stack Exchange!


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




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f515374%2fhow-do-i-run-a-sh-script-already-on-the-remote-server-through-telnet-from-a-dif%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...