T3cHn0b0y
Oct 16 2003, 08:32 PM
OK...Im T3cHn0b0y and I'm one hell of a fuckin linux n00b. So...I was just wondering if one of you anoraks could answer 2 questions I've had since 18:00 today:-
1) How can I upload files to my linux box from my win32 os in college, just using a remote shell? I can get the shell fine, just need to upload files.
2) Can I use the 'vi' application for editing files inside a remote shell?
Hope someone can help.
ssj4conejo
Oct 16 2003, 09:10 PM
The easiest method is to run sometime of a server from the win32 box. some common choices are http, ftp, tftp, cause linux distros usually come with all of these clients so a win32 server of any of those would be good. a suggestion for ftp server would be servu, or there are some dos ftp clients and for http u can always use tiny web server, extremely small and effective.
by the way the linux command to get files from a website is wget, and if its not instlaled on your linux box install wget if you plan on using http servers.
packet
Oct 17 2003, 01:13 PM
BAH! Thats a windowz answer!
No no no no! Run SSH on your linux box and use a windows SCP (secure copy) client. Putty is free and includes SCP. (just search for putty.exe for the page)
When you run a SSH server it also includes support for SCP (and normally SFTP now too) so you can copy your files over the SSH link. You can also do things like FTP and rsync but those are all clear text!
I love SCP, and you can use it much like CP:
scp you@yourbox://etc/passwd ./
scp ./bork you@yourbox://etc/
Or whatever good for uploads, downloads and everything inbetween (levelloads? Horizontalloads?)
--P>G>>
PS: there are probably lots of better windowz SCP/SFTP programs out there but I'm too damn lazy to look for them
T3cHn0b0y
Oct 18 2003, 02:05 PM
Thanx for both your replies...one more question - How do I use pscp.exe to transfer? I dont get it man...for example: If I have a linux box on the ip w.x.y.z, username example, password temp, and i wanted to copy c:\transfer.txt to the remote box then what would i type with pscp.exe?
packet
Oct 20 2003, 01:28 PM
| QUOTE |
| Thanx for both your replies...one more question - How do I use pscp.exe to transfer? I dont get it man...for example: If I have a linux box on the ip w.x.y.z, username example, password temp, and i wanted to copy c:\transfer.txt to the remote box then what would i type with pscp.exe? |
pscp c:\transfer example@w.x.y.z:/home/example/
^ ^
Source Destination
Then it will ask you for a password, if you happen to put the right one in it will transfer the file.
--P>G>>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.