10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Here is my problem::confused:
Daily my ETL process will create 4 (Four) Flatfiles in unix box. Upon creation of the flatfiles, I need to do "SFTP" the files to a "Remote Server".
Sometimes While doing SFTP, the files get trucated due to it's size.
Now I would like to design a Korn... (3 Replies)
Discussion started by: npk2210
3 Replies
2. Red Hat
Hello i tryed add SunOS system to Spacewalk and see this error:
# cat /etc/release
Solaris 10 10/08 s10s_u6wos_07b SPARC
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
... (1 Reply)
Discussion started by: jess_t03
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Whenever I run crontab -e from my remote terminal logged onto a SunOS 5.6 machine I get this:
root@beauvert:~> crontab -e
3495
-----
I think I have to set the terminal/editor. These are my environment variables:
root@beauvert:~> set
EDITOR vi
PATH ... (5 Replies)
Discussion started by: mojoman
5 Replies
4. Shell Programming and Scripting
Hi,
Can someone tell me why the "LargeFile" is coming first before the smaller files. Is there any way to list the files based on size column.
ls -g| sort -k 4
-rw-r--r-- 1 user 6117910528 Apr 28 15:04 LargeFile
-rw-r--r-- 1 user 6136832 May 30 07:23 my_20080530.tar
-rw-r--r-- ... (2 Replies)
Discussion started by: kesari
2 Replies
5. UNIX for Dummies Questions & Answers
Hello All,
I have an issue with sftp in BatchMode option. I am using the below command to sftp a file in ssh2 from a script.
sftp -o BatchMode=yes userid@servername <<EOF
cd /ftp/cds
put quotes.csv
quit
EOF
But the connection doesnt returns back from sftp and it just hangs in the... (3 Replies)
Discussion started by: kotasateesh
3 Replies
6. Shell Programming and Scripting
Hello All,
I have a issue with the below script that i am using to sftp a file.
sftp -o BatchMode=yes $sftpLogin <<EOF
cd /ftp/cds
get cdstesting.csv
quit
EOF
When i use this, the connetion establishes and the connections doesnt returns from and hangs in the connecting mode. I think... (0 Replies)
Discussion started by: kotasateesh
0 Replies
7. Shell Programming and Scripting
Hi,
I have a folder ABC.
I have sftp executing from this folder successfully to other servers using keys which avoids passowrd prompt.
The permissions for the folder are only for user.ie drwx------
But i need another id to access my folder and execute the scripts.
So i changed the access... (2 Replies)
Discussion started by: borncrazy
2 Replies
8. Solaris
In Solaris (SunOS 5.9) a problem is encountered as :
The patch command doesnt patch a file greater than or equal to 1MB after it is deleted or changed.
Could anyone know the reason. Is this problem related to patch or Sun OS. If so what may be the solution. (3 Replies)
Discussion started by: SankarV
3 Replies
9. UNIX for Advanced & Expert Users
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies
10. UNIX for Advanced & Expert Users
Hi,
I have been facing a telnet problem with our SunOS 5.7 box. Initially we were facing porblems in login both from the console as well as through telnet. The machine was hard-booted after which login from console is possible, but telnet connection is not.
The error that is displayed is... (1 Reply)
Discussion started by: manoj_gopal
1 Replies
sftp-server(1M) System Administration Commands sftp-server(1M)
NAME
sftp-server - SFTP server subsystem
SYNOPSIS
/usr/lib/ssh/sftp-server
DESCRIPTION
sftp-server implements the server side of the SSH File Transfer Protocol as defined in the IETF draft-ietf-secsh-filexfer.
sftp-server is a subsystem for sshd(1M) and must not be run directly. There are no options or config settings.
To enable the sftp-server subsystem for sshd add the following to /etc/ssh/sshd_config:
Subsystem sftp /usr/lib/ssh/sftp-server
See sshd_config(4) for a description of the format and contents of that file.
There is no relationship between the protocol used by sftp-server and the FTP protocol (RFC 959) provided by in.ftpd.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/usr/lib/sftp-server
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsshdu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
sftp(1), ssh(1), ssh-add(1), ssh-keygen(1), sshd(1M), sshd_config(4), attributes(5)
To view license terms, attribution, and copyright for OpenSSH, the default path is /var/sadm/pkg/SUNWsshdr/install/copyright. If the
Solaris operating environment has been installed anywhere other than the default, modify the given path to access the file at the installed
location.
AUTHOR
Markus Friedl
SunOS 5.10 30 Jul 2003 sftp-server(1M)