how to copy files on windows host from linux host [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
here is a window host ip is 192.168.8.1
i can telnet in this host from linux host 192.168.2.1 and name/pwd is test test
i want a shell script to login in window host(192.168.8.1),and copy d:/log to f:/log.
from linux host ,how to write this linux script .
I hava already tried to think,thank you for you to answer it.

You can install an ssh server on windows (for example OpenSSH)
Here a link of a tutorial: http://www.worldgoneweb.com/2011/installing-openssh-on-windows-7/
Then you can use the scp command from linux machine to copy your files. http://linux.die.net/man/1/scp

I would first ask if you have any other access to the windows host? Does it have a ftp server?
Is it or can it share drives? Assuming you need to transfer the file via the telnet session stream you can check out Kermit. It was originally written to work on serial lines, but can also work with telnet sessions. A version of kermit needs to be installed on both windows and linux. It works with binary files. It also changes line endings if needed. Another possibility is zmodem.
Old versions of kermit are public domain. Should be Ok. Newer versions are not. See http://www.omen.com/zmdmev.html

Related

Remote File Transfer from Linux Machine to Windows Machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am looking to remotely transfer a file from my Linux machine to a Windows machine. I have done some research and it appears that scp is what I want to use to achieve this. However... all of the code that I'm seeing appears to be using cygwin (or similar) that is already installed on the windows machine, hardly "remote." My two systems are completely separate and have their own unique IP addresses.
Filezilla or WinSCP will do the job. It's required only to have SSH server running on your Linux machine, enabled SSH port (tcp/22 by default) in firewall and your Windows computer must be able to reach the Linux host - you can try ping <Linux-machine-IP> from your Windows computer to verify.
If you want something else, you could configure Samba or probably WebDAV (httpd.apache.org/docs/2.4/mod/mod_dav.html), which allow you to mount your Linux directories as drives in Windows without additional tools. For example, your linux home /home/user can be mounted as Y: drive in Windows.
If you already have an ssh server on your Linux machine, I suggest using Filezilla, which comes with a GUI.
You just want to install the client on windows, don't bother with the server, a classic ssh server does the job.

Linux conect another Linux via SSH [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
My laptop's OS is Linux, and I want to connect my remote server, its OS is Linux CentOS. You know, on Windows, you can use Putty, XShell etc to connect remote Linux Machine. And I wonder if there are some softwares just like Putty or Xshell that can connect remote Linux Server.I know on Linux, you can use ftp to connect remote Linux Server's file system, but I want to use remote Linux Server's terminal to run some programs.
ssh user#remoteserver
remoteserver : This is the hostname or the ip address you need to connect to.
user : The username you use to connect to that system.
Upon successful connection you shall see the prompts to guide to further.
In Linux you have SSH (openssh package usually or ssh-server or ssh) command ssh
Surprisngly, the tool you need is called ssh

Remote desktop for Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I come from a Windows background and have been using Remote Desktop to view a remote server's desktop on my local machine. Remote desktop is probably the most popular tool for doing this because it's already part of the OS. Is there a similar tool for Windows but for accessing a Linux machine instead?
Try VNC. It works on Mac and Linux. You need to be running the server portion on the Linux host.
Take a look at xrdp. According to project description you can even use your native Windows client to access Linux desktop:
The goal of this project is to provide a fully functional Linux
terminal server, capable of accepting connections from rdesktop,
freerdp, and Microsoft's own terminal server / remote desktop clients.
try TeamViewer you can download it from
http://www.teamviewer.com/en/download/linux.aspx

SSH into Linux and Open GUI [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
So i know how to SSH into a box and create/modify directories etc. However I do want to know how I can open the exact GUI (For instance I want the Fedora environment that I have on my virtual machine) to open up. Meaning I need to be able to simply see my linux environment. Would anyone know how I can achieve this?
I am using a mac.
I'm presuming you want to see the gui you are running on the vm, which won't really help you here. You have a couple of options:
If you are running linux (or an X server like xceed) on the machine you are actually using, then you can enable X forwarding in ssh (-X on the command line) and then run your window manager from there.
Alternatively, you could look at installing a vnc server on your linux machine (I'd recommend tightvnc) and your host and connecting that way.
Either way this would be getting you a fresh desktop rather than what is visible on the console of the machine.
For the specific case of a virtual machine, as you mentioned, both vmware and virtualbox (I'm guessing you are using one of those) provide either vnc or rdesktop head support; you can then use either a vnc client or windows remote desktop client to connect to the actual console. In this instance this is probably what you want to do.
Set up a VNC server on your Linux machine, it can provide you with a desktop environment.

Unix Editors to run and test ssh commands [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am new to the world of Unix and would like to install some type of editor to run Unix ssh commands on my windows PC. If that is not possible then how can i go about practicing Unix commands? I would be making directories and storing data in them if that helps.
From what I am reading you want to practice working in a unix command line on your windows PC. Is this correct?
If so I might recommend you check out cygwin.
ref: http://www.cygwin.com/
cygwin can install on a windows machine and provide you with an emulated linux shell. you can do pretty much anything basic you can do in linux in cygwin.
I would recommend two things which will enable you to use ssh:
1) If you want to keep on using Windows but have a remote machine on which you could login via ssh I recommend PUTTY.
2) You can set up a virtual machine using e.g. VirtualBOX.
I think, running a Linux VM on virtualbox is a better choice. You have a complete system to play with.

Resources