Sponsored Content
Full Discussion: sftp/scp without password
Operating Systems Linux Red Hat sftp/scp without password Post 302345453 by fpmurphy on Wednesday 19th of August 2009 09:22:05 AM
Old 08-19-2009
You need to generate your public/private keypair without a passphrase.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

OpenSSH: SFTP X SCP

Hi all, I'm implementing some updates to my scripts that are now using ftp command. I was thinking about replace it by SFTP. Now I see that SCP does basically the same that SFTP. So... what are the differences between them? Thanks in advance... ;O) (1 Reply)
Discussion started by: alienET
1 Replies

2. UNIX for Dummies Questions & Answers

sftp/scp autologin

Ive have 2 unix machines i need to transfer files from one to the other. Im trying to use either sftp or scp as ftp is out of the question. Ive created the RSA key on one machine and copied it across but im still prompted for a password. Assume this is due to the fact that im not using the same ID... (8 Replies)
Discussion started by: devid
8 Replies

3. UNIX for Advanced & Expert Users

sftp vs scp

My transmit rates are waaay faster using scp over sftp....anyone know why scp is faster than sftp? I am using solaris 8 for my unix systems. -S (2 Replies)
Discussion started by: Sowser
2 Replies

4. HP-UX

sftp/scp/ssh script with password as authentication

Hello, Do you guys know set of commands that can incorporate to sftp/scp/ssh to add password in a script to automate file transfer. Our client is not using ssh keys authentication so we are force to create a script to pass the password into the script to transfer files via sftp/scp/ssh. We... (4 Replies)
Discussion started by: james_falco
4 Replies

5. Shell Programming and Scripting

scp script for doing sftp

Hi, I have to do SFTP from Linux machine to Salaries SFTP folder. Using psftp I got the following fingur print and I know using scp I can go the sftp transfer. But I believe I need public key file generated. Can some one pls let me know how to generate the public file using following finger... (1 Reply)
Discussion started by: iamakshay
1 Replies

6. AIX

what to use sftp or scp

hi, i have a weird problem i have to copy the file with caret(^) in it. but when i tries to copy with scp. It(scp) says that it cant use ^file_name scp mohit^narang user@machine/mohit^narang the error comes in the second parameter.if i used user@machine/mohit_narang(under score) instead... (2 Replies)
Discussion started by: narang.mohit
2 Replies

7. Shell Programming and Scripting

SFTP and SCP help

Hi All, I have to make an automated script that needs to do SFTP or SCP from my Unix server to another Unix server. I have gone through search of this website for sftp and scp. I really get confused when it talk about ssh key or rsh key and sftp -b thing I would really appreciate if... (4 Replies)
Discussion started by: pinnacle
4 Replies

8. Shell Programming and Scripting

SFTP / SCP using password

Hi, I was provided with sftp servername, user and password and the requirement is to connect to sftp server using credentials provided and drop the file. Manually i am able to connect with commands like sftp user@servername and after clicking enter, i was asked for a password and entering... (4 Replies)
Discussion started by: forums123456
4 Replies

9. Shell Programming and Scripting

SFTP prompting for password even though password is in script

Hi All, I am trying to transfer a file from one server to a remote server using SFTP. Client is not ready for key setup. I am working on Solaris 10. Here is the code. #!/bin/ksh # sample automatic Sftp script to dump a file USER="user1" PASSWORD="pass1" HOST="host1" sftp $USER@$HOST... (6 Replies)
Discussion started by: megha2525
6 Replies

10. Shell Programming and Scripting

SFTP or scp with password in a batch script without using SSH keys and expect script

Dear All, I have a requirement where I have to SFTP or SCP a file in a batch script. Unfortunately, the destination server setup is such that it doesn't allow for shell command line login. So, I am not able to set up SSH keys. My source server is having issues with Expect. So, unable to use... (5 Replies)
Discussion started by: ss112233
5 Replies
SCHLEUDER-NEWLIST(8)													      SCHLEUDER-NEWLIST(8)

NAME
schleuder-newlist - create new Schleuder mailing list SYNOPSIS
schleuder-newlist [-c baseconfig] newlist@example.net [-realname "Foo List"] [-adminaddress listadmin@example.net] [-initmember member1@example.net -initmemberkey path-to-initmember-publickey] [-privatekeyfile path-to-privatekey -publickeyfile path-to-publickey -passphrase "key passphrase"] [-mailuser schleuder] [-nointeractive] DESCRIPTION
schleuder-newlist automates the creation of new Schleuder mailing lists. For more information on Schleuder, please look at schleuder(8). schleuder-newlist does various input validation, and can generate a key or import one. It will give you as well an easy interface to build new lists in a scripted manner. It also supports an interactive mode, with which the user will be prompted for missing mandatory options. The interactive mode can be dis- abled, using the -nointercative flag; it is automatically disabled if the script isn't run within a valid tty. If no -privatekeyfile, -publickeyfile and -passphrase are provided, the list will create a new keypair with a random password. The type and length of the generated keypair is specified in /etc/schleuder/schleuder.conf. OPTIONS
-c path-to-schleuder-configuration: Specify an alternate configuration directory than the default /etc/schleuder. -realname "Foo List" Specify the name of the mailing list. -adminaddress listadmin@example.net Specify the email address of a list administrator. This address will be notified of errors, and depending on configuration may also be allowed to send restricted email commands. -initmember member1@example.net Specify the first subscribed list member address. Can be the same as the administrator address. This option must be accompanied by -initmemberkey. -initmemberkey path-to-initmember-publickey Specify the path to first subscribed list member public key. -initmember must also be specified. -privatekeyfile path-to-privatekey Specify the path to a previously-generated private key for the list. This option must be accompanied by -publickeyfile and -passphrase. -publickeyfile path-to-publickey Specify the path to a previously-generated public key for the list. This option must be accompanied by -privatekeyfile and -passphrase. -passphrase "key passphrase" Specify the passphrase needed to access the private key specified in -privatekeyfile. This option must be accompanied by -publickey- file as well. -mailuser schleuder Specify the system user account under which schleuder(8) will be executed (when run as root, this defaults to schleuder). -nointeractive When specified, no questions will be asked to complete missing information. EXAMPLES
This creates a new list called test1 with the initial member foo@bar.ch. A new keypair will be generated for the list. schleuder-newlist foobar@example.org -realname "bal jak" -adminaddress admin@example.org -initmember foo@example.com -initmemberkey /tmp/foo.pub The list test2 will be created, a keypair from the following files with the passphrase test will be imported. schleuder-newlist test2@example.com -realname "bal jak" -adminaddress foobar@example.org -privatekeyfile ~/tmp/test2.priv -publickeyfile /tmp/test2.pub -passphrase test FILES
/etc/schleuder/schleuder.conf global Schleuder configuration /etc/schleuder/default-list.conf default list settings /var/schleuderlists/HOSTNAME/LISTNAME list internal data /var/schleuderlists/HOSTNAME/LISTNAME/list.conf list settings /var/schleuderlists/HOSTNAME/LISTNAME/members.conf list susbcribers All configuration files are formatted as YAML. See http://www.yaml.org/ for more details. BUGS
Known bugs are listed on the Schleuder website. SEE ALSO
schleuder(8), aliases(5), gnupg(7). Schleuder website http://schleuder.nadir.org/ YAML website http://www.yaml.org/ June 2012 SCHLEUDER-NEWLIST(8)
All times are GMT -4. The time now is 08:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy