How to Connect Red Hat 9 using WS FTP/Cute FTP from Windows

Discussion regarding the installation and configuration of Linux distributions.

How to Connect Red Hat 9 using WS FTP/Cute FTP from Windows

Postby msameerbutt » Thu Oct 09, 2003 4:10 pm

I m New in Linux World
All I want to Upload/Donload files on Red Hat 9 using Window2000
in a local area Network
Please Help me to Setup FTP Server, User on the REd Hat 9 so that i can connect to Linux using WS FTP/Cute FTP from windows .


I m Waiting Please Help Me. :oops: :cry:
Always Love to Learning
Sameer
msameerbutt
Cadet
 
Posts: 14
Joined: Thu Oct 09, 2003 3:57 pm
Website: http://www.face-pic.com/msameerbutt
WLM: tangototango@hotmail.com
Location: Islamabad

Postby slick » Fri Oct 10, 2003 12:41 am

I would not recommend using WS/FTP or any kind of ftp to connect to yout linux box. Try ssh, its much more secure and useful. You can use clients like the windows ssh client. or putty. (hint: the good clients for ssh for windows can easily be downloaded from any universities cs depts, website:) ) putty is free..and setting up an ssh server is also very easy. read the manuals for sshd.
I only run as fast as my angels can fly
slick
Naik
 
Posts: 56
Joined: Fri Sep 05, 2003 1:29 am
Location: CA

Postby lambda » Fri Oct 10, 2003 11:06 am

slick wrote:I would not recommend using WS/FTP or any kind of ftp to connect to yout linux box. Try ssh, its much more secure and useful.


ssh is not for transfering files. you want winscp or some other client that supports scp or (preferably) sftp.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby slick » Fri Oct 10, 2003 4:04 pm

ssh is not for transfering files. you want winscp or some other client that supports scp or (preferably) sftp.


PUTTY and other windows clients for ssh have secure file transfer capabilities in them already.
I only run as fast as my angels can fly
slick
Naik
 
Posts: 56
Joined: Fri Sep 05, 2003 1:29 am
Location: CA

Postby lambda » Sun Oct 12, 2003 12:50 pm

slick wrote:PUTTY and other windows clients for ssh have secure file transfer capabilities in them already.


do you have a reading comprehension problem? once again: ssh is not for transfering files.
putty can't be used to transfer files. you want an scp or sftp client.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby slick » Sun Oct 12, 2003 3:09 pm

scp is a command line UTILITY, one of the features in PUTTY(PSCP). SSH is a protocol(just in case you think im confusing ssh with putty, perhaps i said it wrong or perhaps youre just a dimwit :)). so, again in short . PUTTY can be used to transfer files. Im sorry for any confusion i mite have caused.
I only run as fast as my angels can fly
slick
Naik
 
Posts: 56
Joined: Fri Sep 05, 2003 1:29 am
Location: CA

Postby Faraz.Fazil » Sun Oct 12, 2003 5:23 pm

Check this site to clear the confusion:

http://www.osc.ox.ac.uk/FAQ/ssh.html

AS stated :

(Taken from above link):

============================

The method for logging in to OsW (and for transferring files) is to use the secure shell and its associated commands scp, ssh, slogin. See the manual pages on Oswell or Oswald for further details (by typing man ssh, man scp, or man slogin).

If you are using a Windows machine, then we recommend PuTTY. This free package includes a terminal emulator and a command-line secure file transfer program (pscp). It is able to make connections via telnet, ssh1 or ssh2.

============================

Transferring files

Unix workstation
-------------------
Use scp. The convention is that you can use scp in the same way as the standard Unix cp command, but that anything preceding the character ":" indicates that the file is to be moved from/to a remote machine.


Windows PC
-----------------
You can use PuTTY's pscp in much the same way as scp above. However, you will only be able to initialise file transfer from the windows machine

check above link for more info.

And keep it cool folks , so that i am not forced to edit any posts of yours.
Linux for Life!
Faraz.Fazil
Major General
 
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
WLM: faraz7476@hotmail.com
Location: Karachi/Pakistan/Earth/Universe

Here

Postby jargon » Mon Oct 13, 2003 10:09 am

First, you have to make sure that the server is running. Assuming that it is installed, run /usr/sbin/setup from a terminal as root, and make sure the ftp server is checked under "services", save and exit.

If it is not installed run "redhat-config-packages" as root in X and select the FTP server (have the redhat cds nearby).

Then try to see if you can connect by running "ftp localhost" if you get a prompt that means that it is running. Next, if you already have an account on the linux box then you should be able to connect to it now by running 'ftp LINUX_BOX_IP_ADDRESS' from a command prompt in Win2000. If you want, you can add a new account on the linux system by running "useradd accountname" and 'passwd accountname" . for example create an ftp account
#: useradd ftpserver
#: passwd ftpserver
New Password For user 'ftpserver'....

It should all be set up now.

The best way to transfer files on the lan would be to run samba. This way all the windows machines on the local lan would see the linux box as a windows machine and you will then be able to map the drive on your windows machine. To explain that would be out of the scope for this post. Check www.tldp.org, or www.samba.org for more info.
jargon
Lieutenant Colonel
 
Posts: 691
Joined: Mon Oct 13, 2003 9:40 am

Thanks Guys i Have Done it

Postby msameerbutt » Tue Oct 14, 2003 12:04 pm

Hi to All
i Have done this using vsftpd built in server in RedHat Linux 9
i made changes in /etc/vsftpd/vsftpd.conf and allow anonymous and
now its working with WS FTp and Cute Ftp from winodws


I also used samba Server to get Linux file on the Windows
if any one needs the above vsftpd.conf file i will happy to share

Once again Thanks you all
Bye Friends :lol:
Always Love to Learning

Sameer
msameerbutt
Cadet
 
Posts: 14
Joined: Thu Oct 09, 2003 3:57 pm
Website: http://www.face-pic.com/msameerbutt
WLM: tangototango@hotmail.com
Location: Islamabad

Re: Thanks Guys i Have Done it

Postby if » Tue Oct 14, 2003 5:29 pm

msameerbutt wrote:Hi to All
i Have done this using vsftpd built in server in RedHat Linux 9
i made changes in /etc/vsftpd/vsftpd.conf and allow anonymous and
now its working with WS FTp and Cute Ftp from winodws


I also used samba Server to get Linux file on the Windows
if any one needs the above vsftpd.conf file i will happy to share

Once again Thanks you all
Bye Friends :lol:


plz PUT the configuration file and also some tips and guidlines for new users... at WIKI... thx
if u find anything which shows my lack of knowledge,
please guide me... thx
------------------------------------
Aslam-o-Aliakum-Wa-Rahmatullah-Wa-Barakatuhu
------------------------------------
if
if
Battalion Quarter Master Havaldaar
 
Posts: 224
Joined: Tue Aug 13, 2002 12:52 pm
WLM: ifhope@hotmail.com
Yahoo Messenger: hope_never@yahoo.com
Location: Islamabad

Postby msameerbutt » Wed Oct 15, 2003 11:23 am

Accessing Linux Files through WSFTP or CuteFTP from windows.

1.Make sure your Linux Terminal is on the Network and showing your all network computers.
2.Make sure that vsftpd server is installed and running properly.
3.open /etc/vsftpd/vsftpd.conf

****************************Make the following changes.***********************
#Allow anonymous FTP?

anonymous_enable=YES

#Uncomment this to allow local users to log in.

local_enable=YES


#Uncomment this to enable any form of FTP write command.

write_enable=YES

# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)

local_umask=022

# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.

anon_upload_enable=YES

# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.

anon_mkdir_write_enable=YES
# Activate directory messages - messages given to remote users when they
# go into a certain directory.

dirmessage_enable=YES

# Activate logging of uploads/downloads.

xferlog_enable=YES


# Make sure PORT transfer connections originate from port 20 (ftp-data).

connect_from_port_20=YES


# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!

#chown_uploads=YES
#chown_username=whoever

# You may override where the log file goes if you like. The default is shown

# below.

#xferlog_file=/var/log/vsftpd.log

# If you want, you can have your log file in standard ftpd xferlog format

xferlog_std_format=YES
#ls_recurse_enable=YES

pam_service_name=vsftpd
userlist_enable=YES

#enable for standalone mode

listen=YES
tcp_wrappers=YES

*************************************************************
create a user with any kind of prviliages and point its home directory.

********************Using Samba Server Sharing.***************

1. Make a Share of using Samaba (click on Add and Browse Directory..).
2. Make a User of Samba.
3. In saba server Settings tab (Basic enter your domain or workgroup name).
4. In Samba Server Settings tab
anthentication Mode -------> User
Athentication server-------> None
Encrypt Password -------> yes
Guest Account -------> No Guest ccount.

************************************************************************
Always Love to Learning

Sameer
msameerbutt
Cadet
 
Posts: 14
Joined: Thu Oct 09, 2003 3:57 pm
Website: http://www.face-pic.com/msameerbutt
WLM: tangototango@hotmail.com
Location: Islamabad

Postby lambda » Wed Oct 15, 2003 7:42 pm

Faraz.Fazil wrote:Check this site to clear the confusion:

http://www.osc.ox.ac.uk/FAQ/ssh.html


no, the site you should look at is putty's -- http://www.chiark.greenend.org.uk/~sgtatham/putty/.

the title and the first paragraph both tell you that putty isn't used for transfering files.

i don't deny that pscp can transfer files, or that scp works over ssh, or that pscp isn't written by the same guy who wrote putty and can be downloaded from the same page. i'm just saying what i did many posts ago -- putty can't transfer files. that's why i said you need an scp or sftp client.

a few seconds running scp -v file remote:/dir/ is all you need to see how scp works. a while longer and maybe you'll realize that scp doesn't even need to run on top of ssh.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby Faraz.Fazil » Wed Oct 15, 2003 10:45 pm

Also i mentioned that site only as an example.It is ofcourse not the official site.

Faraz.Fazil wrote:

Transferring files

Unix workstation
-------------------
Use scp.

Windows PC
-----------------
You can use pscp in much the same way as scp above. However, you will only be able to initialise file transfer from the windows machine

]
Linux for Life!
Faraz.Fazil
Major General
 
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
WLM: faraz7476@hotmail.com
Location: Karachi/Pakistan/Earth/Universe


Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron