03-19-2010
Hi,
Just make sure below this for SFTP connection.
1. Keypair is generated properly.
2. Just copy rsa_pub_id file to target sever to authorisedkey file and make sure key should be in one line while asting in the authorisedkey file.
3. Proper permission to
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
need help to write a smal script to send files to remote sys using sftp @ HP UNIX environment.
Thanks (1 Reply)
Discussion started by: ravi.sadani19
1 Replies
2. UNIX for Dummies Questions & Answers
Thank you for the help (2 Replies)
Discussion started by: scooter17
2 Replies
3. Solaris
Hi all,
I just bought a new system, but am unable to configure network on it..
am using a nge0 ethernet interface to login.
i've tried all i knew but not of the webpages seem to open.
Here is what i've done..
ifconfig nge0 plumb
ifconfig -a
(nge0) was being displayed as up and running.
... (23 Replies)
Discussion started by: wrapster
23 Replies
4. Cybersecurity
HI all,
I have setup IPTables firewall/Router and my home network, with address space 192.168.10.XXX
Form my private network hosts, i can ping the gateway ( 192.168.10.101 ) , but the reverse is not happening.
Can someone help me as of what i need to do, so that i can ping my private... (1 Reply)
Discussion started by: chandan_m
1 Replies
5. Shell Programming and Scripting
Hi all,
I need some help,whole process of setting up SFTP .
I know the process of invoking the sftp> prompt,but
I need how to know how to generate an sftp key,how to exchange a key,how to save a key at some location.What are all the proceesss we need to do while generating a key and trying to... (0 Replies)
Discussion started by: ramprius
0 Replies
6. AIX
To all the expert out there,
I have successfully setup a AIX to AIX auto-SFTP with no password requested. Now my aim is to setup a AIX to Window auto-SFTP with no password requested as well. But I faced some problem that I do not know how to solve it.
I have followed the setting of AIX's... (8 Replies)
Discussion started by: kwliew999
8 Replies
7. Linux
Hi
I have setup an sftp account user my problem is,I want this sftp user will be able to access /export/home/sftp/Information folder only and its subdirectory.
However when i tested out via winscp the sftp user account is able to access/see other directories which i dont want to happen. ... (1 Reply)
Discussion started by: kaibiganmi
1 Replies
8. Red Hat
Hi
I need a specific user to be able to sftp to a server and get files from a specific location. The location is not the users home dir, i don't want the user to be able to view anything else apart from the files in that area.
e.g ftp file are is - /logging/phplogs
e.g user home is... (1 Reply)
Discussion started by: duckeggs01
1 Replies
9. Shell Programming and Scripting
To set up a sftp connection between Server A, Server B and a website.com
A batch script will start from Server A and Server B and Connect to the Website server
How to setup sftp connection between server's. (1 Reply)
Discussion started by: aix_admin_007
1 Replies
10. UNIX for Advanced & Expert Users
Hi
Could you please help me out how to configure between two server I don't have admin idea to setup the Sftp server
the requirements is we want to send a file to vendor so we need sftp configuration so that can we can send file through sftp
Please let me know what should I ask to vendor... (1 Reply)
Discussion started by: jagu
1 Replies
LEARN ABOUT MOJAVE
curlopt_quote
CURLOPT_QUOTE(3) curl_easy_setopt options CURLOPT_QUOTE(3)
NAME
CURLOPT_QUOTE - (S)FTP commands to run before transfer
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_QUOTE, struct curl_slist *cmds);
DESCRIPTION
Pass a pointer to a linked list of FTP or SFTP commands to pass to the server prior to your request. This will be done before any other
commands are issued (even before the CWD command for FTP). The linked list should be a fully valid list of 'struct curl_slist' structs
properly filled in with text strings. Use curl_slist_append(3) to append strings (commands) to the list, and clear the entire list after-
wards with curl_slist_free_all(3). Disable this operation again by setting a NULL to this option. When speaking to a FTP server, prefix the
command with an asterisk (*) to make libcurl continue even if the command fails as by default libcurl will stop at first failure.
The set of valid FTP commands depends on the server (see RFC959 for a list of mandatory commands).
The valid SFTP commands are:
chgrp group file
The chgrp command sets the group ID of the file named by the file operand to the group ID specified by the group operand. The
group operand is a decimal integer group ID.
chmod mode file
The chmod command modifies the file mode bits of the specified file. The mode operand is an octal integer mode number.
chown user file
The chown command sets the owner of the file named by the file operand to the user ID specified by the user operand. The user
operand is a decimal integer user ID.
ln source_file target_file
The ln and symlink commands create a symbolic link at the target_file location pointing to the source_file location.
mkdir directory_name
The mkdir command creates the directory named by the directory_name operand.
pwd The pwd command returns the absolute pathname of the current working directory.
rename source target
The rename command renames the file or directory named by the source operand to the destination path named by the target op-
erand.
rm file
The rm command removes the file specified by the file operand.
rmdir directory
The rmdir command removes the directory entry specified by the directory operand, provided it is empty.
statvfs file
The statvfs command returns statistics on the file system in which specified file resides. (Added in 7.49.0)
symlink source_file target_file
See ln.
DEFAULT
NULL
PROTOCOLS
SFTP and FTP
EXAMPLE
TODO
AVAILABILITY
SFTP support added in 7.16.3. *-prefix for SFTP added in 7.24.0
RETURN VALUE
Returns CURLE_OK
SEE ALSO
CURLOPT_POSTQUOTE(3), CURLOPT_PREQUOTE(3),
libcurl 7.54.0 February 25, 2016 CURLOPT_QUOTE(3)