07-12-2011
Then you need to install sshd. How to do so depends on what your distro is.
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hi,
I'm being told that I have to start using SFTP from my server (HPUX 11i), so heres a few questions;
What are the differences between FTP and SFTP? What differences in congiuration can I expect? Are there any changes in command usage? I did see an earlier thread with command issues. A few... (3 Replies)
Discussion started by: nhatch
3 Replies
2. Shell Programming and Scripting
Hi,
I have the following ftp code to check the status of communication channel :
/bin/ftp -i -v -n -B 64 $HOST <<END 2>&1 > $LOGFILE
user $user $password
bye
END
I need to re write to use SFTP, I know how to do SFTP with authentication keys.
But my problem is, when the authentication... (0 Replies)
Discussion started by: shihabvk
0 Replies
3. Shell Programming and Scripting
Hi,
I have the following ftp code to check the status of communication channel :
/bin/ftp -i -v -n -B 64 $HOST <<END 2>&1 > $LOGFILE
user $user $password
bye
END
I need to re write exactly the same way with SFTP using authentication keys, I know how to do SFTP with authentication keys.... (4 Replies)
Discussion started by: shihabvk
4 Replies
4. Shell Programming and Scripting
Somebody made a policy that 'we use sftp now instead of ftp'. I have recommended we use scp because I can't for the life of me think of a *good* reason to use sftp and not scp. But most of what I do is stupid stuff without a good reason. I get judged on how much I can just say yes, no matter how... (1 Reply)
Discussion started by: CodeMonkey76
1 Replies
5. AIX
Hi All,
Any idea on how to write a script on AIX 5.3 to monitor ftp or sftp login failed.
Thanks and more power,
Itik (2 Replies)
Discussion started by: itik
2 Replies
6. Shell Programming and Scripting
Hi,
I have situation where i need to automate transferring 10000+ files using sftp.
while read line
do
if ; then
echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt
fi
done< files.txt
sftp -b sftpCommand.txt stu@192.168.2.1
The above... (1 Reply)
Discussion started by: noobrobot
1 Replies
7. Shell Programming and Scripting
Hi,
I have the following bash script(related to ftp) that read the parameters from the properties file and then transfer some files to the remote machine...
following is the bash script ....
#!/bin/sh
. ftp.properties
ftp -vin >> ftp.log <<-!
open $RemoteIp
user... (7 Replies)
Discussion started by: rahul125
7 Replies
8. Shell Programming and Scripting
Hi there, I'm new to shell scripting and need some help if possible?
I need to create a shell script (.sh) to run as a cron job on an ubuntu linux server to connect to an external sftp sites directory using credentials (which I have) and then download to our internal ftp server and then copy... (3 Replies)
Discussion started by: ghath
3 Replies
9. Shell Programming and Scripting
Hi Everyone,
We are migrating from FTP to SFTP. We used the following script for FTP:
echo "ftp -np -i -v << EOF" >> ${FTP_READY_FILE}
echo "open ${SRC_FTP_SERVER} " >> ${FTP_READY_FILE}
echo "user ${SRC_FTP_USER} ${SRC_FTP_PWD}" >> ${FTP_READY_FILE}
echo "binary" >> ${FTP_READY_FILE}... (5 Replies)
Discussion started by: Jigsaw16
5 Replies
10. Shell Programming and Scripting
Hi Friends,
I need to make a Unix script, where i need ftp and sftp functionality.
Let me describe in details:
I need to import few files from remote server, now these remote server either support ftp or sftp not both. So i need a script where my script will try to do ftp first and if it... (8 Replies)
Discussion started by: gnnsprapa
8 Replies
LEARN ABOUT DEBIAN
sss_ssh_authorizedkeys
SSS_SSH_AUTHORIZEDKE(1) SSSD Manual pages SSS_SSH_AUTHORIZEDKE(1)
NAME
sss_ssh_authorizedkeys - get OpenSSH authorized keys
SYNOPSIS
sss_ssh_authorizedkeys [options] USER
DESCRIPTION
sss_ssh_authorizedkeys acquires SSH public keys for user USER and outputs them in OpenSSH authorized_keys format (see the "AUTHORIZED_KEYS
FILE FORMAT" section of sshd(8) for more information).
sshd(8) can be configured to use sss_ssh_authorizedkeys for public key user authentication if it is compiled with support for either
"AuthorizedKeysCommand" or "PubkeyAgent" sshd_config(5) options.
If "AuthorizedKeysCommand" is supported, sshd(8) can be configured to use it by putting the following directive in sshd_config(5):
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
If "PubkeyAgent" is supported, sshd(8) can be configured to use it by using the following directive for sshd(8) configuration:
PubKeyAgent /usr/bin/sss_ssh_authorizedkeys %u
This is an experimental feature, please use http://fedorahosted.org/sssd to report any issues.
OPTIONS
-d,--domain DOMAIN
Search for user public keys in SSSD domain DOMAIN.
-h,--help
Display help message and exit.
SEE ALSO
sshd(8), sshd_config(5), sss_ssh_knownhostsproxy(1).
AUTHORS
The SSSD upstream - http://fedorahosted.org/sssd
SSSD
03/04/2013 SSS_SSH_AUTHORIZEDKE(1)