![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RHEL5 Kickstart Problem... HELP! | mkono | Linux | 2 | 05-30-2008 06:42 AM |
| ESC sequence on RHEL5 | amit1_x | Linux | 2 | 04-28-2008 08:37 AM |
| Installing Fonts on RHEL4 | ankurjain | Linux | 1 | 03-04-2008 11:24 PM |
| Oracle 10g Can Not Login (after Restart Rhel4) | sadiquep | Linux | 2 | 03-04-2008 01:50 AM |
| X11 forwarding problem between 2 RHEL4 machines with SSH | panggou | Linux | 1 | 02-26-2006 11:10 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
FTP from PC to VM running RHEL5 / RHEL4
Hi,
I am setting up virtual machines running Redhat Linux 4 and 5. I would like to be able to ftp files to them from my PC. I can ping ftp rac1.lyl.com fine but when I try to ftp, I get the following but no login prompt... Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Me>ftp rac1.lyl.com Connected to rac1.lyl.com. Connection closed by remote host. I don't know if I need to set up ftp or make a change in a configuration file or what as I know nothing about Linux administration. I apologize if this question is too simple for this forum but I would really appreciate if you could please tell me how to do this or point me to some reference material which explains it. |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
[root@rac1 etc]# rpm -qa | grep ftp ftp-0.17-33.fc6 lftp-3.5.1-2.fc6 tftp-server-0.42-3.1 |
|
||||
|
ok, you don't appear to have an ftp server installed.
You probably have a few to choose from on redhat, such as vsftpd or pureftpd or wuftpd. You will need to install one of these. On the other hand I would be very surprised if ssh is not installed, you could use a different client in wondows that supports sftp such as FileZilla - The free FTP solution and use a secure ftp session without installing any more software. |
|
|||
|
Quote:
I downloaded FileZilla and tried to sftp but I'm still having no luck. I've played around with this for hours now, and I'm not even sure if I'm doing the keys correctly or if I'm just mixing apples and oranges and maybe don't even need the keys for sftp at all. I used a program called puttygen to generate the keys for my pc and then I made an ISO image and mounted it as the dvd drive so I could copy the public keys into the authorized_files (since I don't know another way to get the files there until I can get ftp/sftp working) . From the man pages, it sounds like if I just use 'rsa' and 'dsa' as my types in 'ssh-keygen -t xxx' then I am generating rsa2 and dsa2 keys. However, I tried ssh-2 rsa keys (1024 bit and then 2048 bit) and I tried ssh-1 rsa keys and I tried ssh-2 dsa keys and well, I'm just stumped. I was wondering if I need to change the format of the key text generated in Windows as the format doesn't match the other entries in authorized_files so I played around with that a bit but still no luck. I did make sure that the key was one continuous line because when I tried the dsa key, it had line breaks which I removed. And I did remember to use the corresponding private key file in FileZilla by pointing it to the appropriate .ppk file under settings. But always... Status: Connecting to rac1.lyl.com:22... Response: fzSftp started Command: keyfile "D:\RAC Project\puttygen\2048privatekeyssh2rsa.ppk" Command: keyfile "D:\RAC Project\puttygen\dsaprivatekey.ppk" Command: open "oracle@rac1.lyl.com" 22 Error: Connection timed out Error: Could not connect to server Status: Waiting to retry... Any idea what I'm missing or doing wrong? |
|||
| Google UNIX.COM |