01-16-2017
Quote:
Originally Posted by
milhan
yes, I was trying to that inside sftp..
in ftp you can do
help [command]
and it will print informative message about that command. but you can't do that in sftp.
That's how far you can go with the sftp client you are using.
The ftp you are using is another different client (program) and the developers decided to code a bit friendlier help at the prompt, but that does not guarantee that every ftp client would have the same feature, nor that the sftp client would, neither. That's why you must read the documentation before you use it.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
how would I list the high end of CPU utilization for the previous hours of the day. I don't need to know the averages. I'm wanting to know the high and low, etc. for what ever time interval that is avaliable?
Thank you. (2 Replies)
Discussion started by: cubs0729
2 Replies
2. UNIX for Dummies Questions & Answers
can anyone please tell a method to obtain version information of sftp in linux (3 Replies)
Discussion started by: aina_villatoro
3 Replies
3. Solaris
I have a Solaris 5.9 server and need send information via SFTP automaticaly, and set my username and password encrypted. How can I do this?
Best regards (1 Reply)
Discussion started by: irasela
1 Replies
4. Solaris
Hi,
How to find out which sftp client is installed in my system?
And the UserId and Password used for SFTP service.
I am using SunOS 5.8
Please help.
Thanks,
Raj (1 Reply)
Discussion started by: reeturaj_sunny
1 Replies
5. UNIX for Advanced & Expert Users
Hi everyone!
I have a problem...
I need to restrict user to sftp usage only from one computer to another...
I mean that the user cannot login to the computer or even use sftp from other computer only from the one i allow.
thanx for the help! (13 Replies)
Discussion started by: eliraza6
13 Replies
6. Shell Programming and Scripting
Hi i just wanted to know what is the code to display amount of RAM and also the percentage used? I know i can possibly use the vmstat code but what part indicates the RAM? Any help would be much appreciated. Thanks (1 Reply)
Discussion started by: warlock129
1 Replies
7. Red Hat
are there linux commands or applications that i can use to find out what application was using a certain port at a certain time? there's teamquest,but it doesnt have this kind of information.
TIA. (2 Replies)
Discussion started by: bumblebee
2 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I'm new to this sftp commands. Can someone please explain what exactly its doing
Code1:
eval scp -i ${sshkey} "'${srcdir}/${fname}'" ${tgtfolder}Code2:
ssh -i ${sshkey} ${etlssh} "cat ${remoteDir}/${fname}" > ${localDir}/${fname}Code3:
sftp -P2246 -B ${file1}... (0 Replies)
Discussion started by: help_scr_seeker
0 Replies
10. Shell Programming and Scripting
Hi,
i have a scripts which transfer a file from source to dest server. It uses the firewall information like IP, USERNAME, PASSWORD.
I wanted to know it belongs to source system firewall or the destination firewall info. How to check that firewall connection is working or no without running... (1 Reply)
Discussion started by: Pranavi
1 Replies
LEARN ABOUT LINUX
sftp-server
SFTP-SERVER(8) BSD System Manager's Manual SFTP-SERVER(8)
NAME
sftp-server -- SFTP server subsystem
SYNOPSIS
sftp-server [-ehR] [-f log_facility] [-l log_level] [-u umask]
DESCRIPTION
sftp-server is a program that speaks the server side of SFTP protocol to stdout and expects client requests from stdin. sftp-server is not
intended to be called directly, but from sshd(8) using the Subsystem option.
Command-line flags to sftp-server should be specified in the Subsystem declaration. See sshd_config(5) for more information.
Valid options are:
-e Causes sftp-server to print logging information to stderr instead of syslog for debugging.
-f log_facility
Specifies the facility code that is used when logging messages from sftp-server. The possible values are: DAEMON, USER, AUTH,
LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. The default is AUTH.
-h Displays sftp-server usage information.
-l log_level
Specifies which messages will be logged by sftp-server. The possible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1,
DEBUG2, and DEBUG3. INFO and VERBOSE log transactions that sftp-server performs on behalf of the client. DEBUG and DEBUG1 are
equivalent. DEBUG2 and DEBUG3 each specify higher levels of debugging output. The default is ERROR.
-R Places this instance of sftp-server into a read-only mode. Attempts to open files for writing, as well as other operations that
change the state of the filesystem, will be denied.
-u umask
Sets an explicit umask(2) to be applied to newly-created files and directories, instead of the user's default mask.
For logging to work, sftp-server must be able to access /dev/log. Use of sftp-server in a chroot configuration therefore requires that
syslogd(8) establish a logging socket inside the chroot directory.
SEE ALSO
sftp(1), ssh(1), sshd_config(5), sshd(8)
T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh-filexfer-00.txt, January 2001, work in progress material.
HISTORY
sftp-server first appeared in OpenBSD 2.8.
AUTHORS
Markus Friedl <markus@openbsd.org>
BSD
January 9, 2010 BSD