LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2015, 04:44 PM   #1
RedFinch
LQ Newbie
 
Registered: Apr 2015
Posts: 5

Rep: Reputation: Disabled
How can I run an executable file on a remote Linux server using Putty?


Hi, I'm trying to run an executable file on a remote server using Putty? I downloaded PuTTY and connected through the Putty Configuration window with the SSH connection type selected. Once I connected, the cmd window disappeared so I assume I'm connected. Now I want to run an executable file on the remote server.

How can I run an executable file on my remote Linux server using Putty?

Thanks for any help with this.
 
Old 04-28-2015, 04:51 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,358

Rep: Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989
What do you mean the command window disappeared?

You should still have a window that looks something like this:
http://ged.msu.edu/angus/_images/win...yorn-login.png
 
Old 04-28-2015, 04:53 PM   #3
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
I'm not sure I understand. Putty should give you a terminal from which you type commands directly in the server (eg, ls, cd). What kind of executable file are you trying to run?
 
Old 04-28-2015, 05:28 PM   #4
RedFinch
LQ Newbie
 
Registered: Apr 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Yes that's the window that went away after I entered the domain name and password.
 
Old 04-28-2015, 05:47 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,358

Rep: Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989
That window should not disappear until you log out with Ctrl+D, exit, or similar. Did you see any error pop up?
 
Old 04-28-2015, 06:25 PM   #6
RedFinch
LQ Newbie
 
Registered: Apr 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
No error messages just closed.
 
Old 04-28-2015, 06:28 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,358

Rep: Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989
Do you control the server? Can you log in from another Windows machine or a Linux machine? Does putty have the option to increase verbosity or leave the window open after a disconnected session?
 
Old 04-28-2015, 07:59 PM   #8
RedFinch
LQ Newbie
 
Registered: Apr 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Sorry it's my first time using putty. No was hoping to use it to launch an .exe file. I have access to a shared hosting on Godaddy. I can find into the site and navigat my directories fine.
 
Old 04-28-2015, 08:18 PM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,358

Rep: Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989
1) .exe is typically the file extension for a Windows executable. Windows executables will not run on Linux

2) Are you sure your server provides command line access via ssh? Most don't.
 
Old 04-29-2015, 12:55 PM   #10
RedFinch
LQ Newbie
 
Registered: Apr 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks ...I guess I'll try another approach. Thanks all your help. I may try setting up my own server where I have control of access.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can executable file run on different Linux os? why_so_serious Linux - Newbie 9 02-17-2014 04:32 PM
How to run a bootable .iso file in Linux(remote server) Pinglu General 4 02-28-2012 02:06 PM
Run an executable file (.exe) from matlab in a linux enviroment mca21138 Linux - Newbie 13 06-24-2011 08:20 AM
Run an executable file ( created from Qt) post installation (linux/redhat). udaypratapyati Linux - Newbie 2 02-26-2011 02:19 AM


All times are GMT -5. The time now is 05:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration