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.


Similar Content



Borked Ubuntu With Putty SSH Cmd Line

I am not sure what happened here, and I find it oddly disturbing that a Putty session from Window could do this, but here is what I did -

I was attempting to open a ssh redirect session from Putty command line on my W7 work PC to my home PC running Ubuntu 14.04. I've done this before with the Putty GUI and had no issues at all, but this time I was using cmd line and it never did connect. I ran this command:
Code:
putty -ssh -D 1080 -P 22 domain.com

The Putty window opened but never connected. I tried twice and when it didn't connect, I gave up and went back to the GUI. I connected with the GUI just fine, but after connecting an SSH session to my Ubuntu server at home, I noticed it was acting odd.

Long story short: It was in a "read-only" mode, saying the file system was read-only. I couldn't run apt-get update or even create a new folder in my Home folder or desktop. I remotely rebooted the machine and it never came back online.

When I got home I checked it, and it told me that Ubuntu had found some errors, and was asking if I wanted to correct them. I said yes and it took a short while, but then finally let me log back in.

After this, the box is about 90-95% back to normal except for a couple of odd things that I don't understand.

The main issue is that my Samba shared drives are no longer working. The fstab file looks the same and can connect to other machines, but nothing can connect back to the Ubuntu box. The folder permissions are correct also. I have a CentOS7 box, a Fedora laptop and a W7 box - none of them can connect to my Ubuntu box. I only run Samba and connect with it, even from Linux boxes, just to make it simple (since Windows is stupid and can't use NFS) - this has always worked in the past. Now for the life of me, I can't figure out why nothing will connect.

Is there a logfile or trouble-shooter I could look at it see what happened? It should be in /var/log somewhere, but I don't know where to start. SSH? Samba? The entire filesystem was read-only for a short while, so is there a FS or System log in /var/log?

I am kinda confused on this one, any help is appreciated.

SSH Login To Server Always Fail Upon First Attempt

Noticed recently that my first SSH attempt (using putty) to a Red Hat server always fail. Must leave the failed session on, then the second SSH attempt will succeed. If I close the failed ssh session, the second attempt will also fail as well.

This issue only cropped up about two weeks ago and it also happens to other users for this RHEL server only. I am using putty(release 0.64) but other users are connecting to it via command line SSH in their Linux desktop. Not aware of any changes done to this RHEL server recently.

Any suggestions on where should I start looking into?

How To Change IP Address Of Remote Machine?

Hi all

This is bothering me too much, please tell me how to change IP address of remote machine while using ssh successfully.

I follow these steps:
1. connect to remote server using 'ssh root@server'
2. Edit '/etc/sysconfig/network-scripts/ifcfg-eth0' file
3. issue 'service network restart' command... (at this point ssh connection gets hanged)
4. Break from hanged ssh connection (<ENTER>~.)
5. Wait for some time to let service restart
6. Then finally, ssh with new ip address.

All is fine, but last time, i did something wrong while assigning new IP address, and after service restart, remote server didn't get new ip address - and now i cant connect to remote server.

Fortunately, i had a friend there, who helped me correct the problem so that i can connect again.

But what to do when there is no one to help? Is there other way i should approach this problem?

Thanks

Selecting Multiple Line In Putty Ssh

I have a problem with the putty ssh connection. The operating system is Windows 8.
How do I select a few lines and remove them. Using the mouse and shift + arrow keys on the keyboard does not work properly.

How To Create New User Who Can Access Server From Putty With Limited Functions

hi all,

i want to create a new user named xyz who can login and perform some backup tasks with limited access

i have created a user but not able to access server via putty

can anybody please guide me on this

Thanks
Vijay Muddu

How To Run Executable Files?

Can anyone teach this newbie how to open an executable file under Linux?? thanks!

Trouble Configuring Vsftp

Using a Raspberry Pi w/ Debian

Read the manual and several "how-to"s and am getting nowhere

vsftp is running and making a log file. I can get to the Pi with putty or SAMBA

Ultimately want to be able to both(I) ftp in under the "pi" user to access files remotely and (II) have people sending me huge files ftp them in anonymously

Have tried (I) the ftp client in Windows 7 Internet explorer 11, (ii) the ftp client in the Windows 7 "map network drive" UI, and (iii) ES file explorer on my Android phone.

The android phone tells me there is no server there. Windows 7 gets no password challenge, gives no error indication, but does nothing useful. The vsftpd log file shows some attempt by the Windows machine, nothing for the Android.

Config file and log file attached.

The Android is trying to use port 21, the config file mentions something about port 20. Which ports do I need to forward in my router to enable remote access?

Any help appreciated.

Thanks. Jonathan

.o: File Not Recognized: File Format Not Recognized When Compiling

Hello,

I am working on a board (sbc6000x with at91sam9261 micro, linux 2.6.24 to be precise) and having some fun making script i wanted to make real application.
The board is coming with a cross compilation toolchain. When trying to make a simple "hello world" executable to print on the terminal there is no problem.
I open my terminal, give the path of the compiler, cd into the folder where my .c file is and then i type :
Code:
arm-linux-gcc -o hello hello.c

Which create my executable "hello" and this one is working. But like i said, this program only played with the terminal.

The board is starting with a script calling another executable which use the lcd display, i have the source of this executable. My idea was to look at what was in the source of this application (lots of folders and files) in order to understand how it was working. I wanted to test the toolchain on the source (with the makefile) to see if i was able to generate an executable from a application with folderS/fileS but when i try to "make" it i have this error.

In my understanding this is an object file but aside from that i don't see why it would not works.

Thank you for your future answers !

Help With KDE

Hello, I am new to Linux and I am having difficulty setting up KDE. I have a vps with Debian 7 Wheezy on it and I need to get KDE working on it. The Linux installation from the vps company was very basic...I had to update the packages and install kde and kdm using the apt-get install kde and apt-get install kdm commands. When I type xstart to start the x server I get a message with the version number and other information so I am assuming that it is installed, but at the bottom of the message I have no cursor (I am able to type but when I hit the enter key after entering a command nothing happens) and the # is no longer there so I am unable to continue working. The only way i can get the command prompt and # back is to close Putty and reopen it (then I have to log into the vps all over again). From what I have read online, when I type startx, it should load KDE.

I was able to set the display by using the export DISPLAY=:0.0 command. But when I type startkde I get the message 'No protocol specified" and the next line says DISPLAY not set or unable to connect to xserver.

I have been using Putty to log into the vps, but yesterday I decided to use the web based login utility offered by the vps company. When connecting to the vps in this manner I am presented with a traditional looking login screen (I am assuming it is KDM). The user name that was provided to me from the vps company is 'root' ...well, when I try to login using KDM (the plasma setting) I get an error stating that 'root' logins are not allowed. Considering that the KDM is visible when logging in using the web based utility, I have a feeling that the KDE is also working...but I can't log into it because the user name is 'root' . However, when I use Putty I cant seem to get anything to load and start the way it is supposed to. I would appreciate any help in getting the KDE to work in Putty and the login via the web based utility to accept my username that the vps company gave me. Thank you.

How To Upload From CentOS 7(Desktop PC) Terminal To Remote FTP

Hello
I have a zip file on my home/jaydul/file.zip
I want upload it my remote FTP Server.
Like IP: 123.125.25.1
user: userftp
Pass: ftppass

How to do via terminal.I don't wanna via Ftp client.only via terminal command.