Sponsored Content
Top Forums Shell Programming and Scripting How to setup a password less ftp?? Post 302830447 by Little on Monday 8th of July 2013 10:59:17 PM
Old 07-08-2013
Quote:
Originally Posted by Corona688
FTP and ssh are wholly different.

ssh includes the sftp protocol though, which is enough like ftp to perhaps solve the same problem for you, and logs in the exact same way as ssh -- it should use the exact same keys.
i have created a .netrc file in my home directory for ftp to work without prompting for password. Is it ok and safe?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to setup an FTP server?

i want setup an ftp server on my homelab now i downloaded resource management book from sun there it shows you how to make the entry in the inet.d.conf file also how to control ftp access but how do u actually set it up? say like i want certain file to be obtain through ftp how do i do that? oh... (1 Reply)
Discussion started by: rmuhammad
1 Replies

2. IP Networking

UNIX FTP setup

I just had to rebuild my Sun Ultra 2 running Solaris 2.5.1 as the boot drive failed. Now I can't log on from the Windows XP using WS_FTP Pro, and can't see the PC on the sun using ftp (it just hangs). I think I need to add IP addresses to the host file on the Sun box, but can't find information... (4 Replies)
Discussion started by: pilgrim4119
4 Replies

3. HP-UX

How To Setup Ftp Server

Hi, I'm planning to setup ftp server but I dont have yet what platform i'll be using. I think what ever flavor it is it will go in the same approach right, anyway I just would like to ask how to setup ftp in unix I know too many of here alraedy done with it. Thanks in advance. (0 Replies)
Discussion started by: eykyn17
0 Replies

4. UNIX for Advanced & Expert Users

Setup Secure FTP

Hi All, Please help me to setup the secure Ftp. I want to build a ftp which should ask the Login id and password, and one thing more a particular login should be enable to read/write only his/her directory i.e,s a user should not be able to open the other directories in the ftp.Please help me... (1 Reply)
Discussion started by: akhtar.bhat
1 Replies

5. UNIX for Advanced & Expert Users

ftp server setup help

Hello all, Am in the process of setting up ftp server in my RHEL3 box. Here is where I downloaded the vsftp server ftp://scary.beasts.org/users/cevans/vsftpd-2.1.1pre1.tar.gz ftp server daemon is running fine, accepting connections from client but the issue is that 'user' I specifically... (3 Replies)
Discussion started by: matrixmadhan
3 Replies

6. Red Hat

setup sudo for cmd exec w/o password

i need to set up a user to execute a restricted command as another user and to be able to do so without entering a password. I understand the security concerns but let's not go there, unless you are really compelled to do so... The directive to permit is that I believe should work and did add to... (2 Replies)
Discussion started by: twk
2 Replies

7. UNIX for Dummies Questions & Answers

To setup chrooting ftp

Hi Guru's , Can some one explain me what is chrooting ftp and how to setup the same in Solaris 10 Local zone (Sparse). Thanks In Advance. (1 Reply)
Discussion started by: rama krishna
1 Replies

8. Solaris

How can i setup ssh password-less login for particular user?

HI Community. I was trying to create ssh password less authentication for one user called night and it's not working for me. These are the steps I followed:- I have logged into the server and issued ssh-ketgen -t rsabash-3.2$ ssh-keygen -t rsa Generating public/private rsa key pair.... (4 Replies)
Discussion started by: bentech4u
4 Replies

9. UNIX for Advanced & Expert Users

Setup Samba Server to always ask user and password

How do I setup a Samba server to always ask to user and password, when a windows user, prints your files using a shared printer through a Samba Linux Server (CUPS)? (0 Replies)
Discussion started by: viga
0 Replies

10. Red Hat

SSH password less setup asking for password

Hello Experts, when I am trying to connect my target server through sftp after creating ssh password less setup, it is asking for passowrd to connect. to setup this I followed below process: -->generated keys by executing the command "ssh-keygen -t rsa" -->this created my .ssh directory... (9 Replies)
Discussion started by: Devipriya Ch
9 Replies
MOUNT_FTP(8)						    BSD System Manager's Manual 					      MOUNT_FTP(8)

NAME
mount_ftp -- mount a FTP filesystem SYNOPSIS
mount_ftp [-i] [-o options] ftp://host[:port][/path] node DESCRIPTION
The mount_ftp command mounts a FTP-enabled server directory at ftp://host[:port][/path] at the mount point indicated by node. If the -i option is not used, all the required information to establish a login to the remote server must be available in the ftp URL, including username & password if needed. The user ID for all files and folders is set to the user's real user ID. The group ID for all files and directories is set to unknown, and the permissions default to read and execute for user, group and other. The options are: -i Interactive mode, you are prompted for the username and password if you did not supply one in the url. -o Options passed to mount(2) are specified with the -o option followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings. The rdonly option will be set even if it was not specified because mount_ftp does not allow files to be opened with write access on servers. ftp://host[:port][/path] The FTP-enabled server directory to mount as a volume. If port is not specified, then port 21 is used. If path is not specified, then the path "/" is used. node Path to mount point. EXAMPLES
The following example illustrates how to mount the FTP-enabled server directory ftp.apple.com/ at the mount point /Volumes/mntpnt/ mount_ftp ftp://ftp.apple.com/ /Volumes/mntpnt/ SEE ALSO
mount(2), unmount(2), mount(8) HISTORY
The mount_ftp command first appeared Mac OS X Version 10.2. RETURN VALUES
0 mount_ftp successfully mounted the server directory. [ENOENT] The server directory could not be mounted by mount_ftp because the node path is invalid. [ENODEV] The server directory could not be mounted by mount_ftp because it is not FTP-enabled or because it does not exist, or because node does not have proper access. [ECANCELED] The server directory could not be mounted by mount_ftp because the user did not provide proper authentication credentials. BUGS
mount_ftp only supports mounting read-only. Mac OS X June 6, 2003 Mac OS X
All times are GMT -4. The time now is 05:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy