07-22-2008
Usually you don't just copy the key to some directory, but append the key to the authorized_keys. No idea, where this is on your win box.
Did you enter a password or passphrase while the generating the keys btw?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello friends,
I was doing this test script which would take a file from my own E: drive to the unix server which i access from a putty.
I tried
sftp <osuser>@<ipaddress>
but it didn't work.
does the windows client have to be a server installation?
i was trying on win xp from... (4 Replies)
Discussion started by: pranavagarwal
4 Replies
2. Shell Programming and Scripting
Hello All :),
I am making a script in the ksh to Secure FTP a set of files from the E:/ drive in windows a computer to a unix server.
Had it been in the unix directory, I could have used the expect utility to use the non-interactive mode for sftp,
#!/usr/local/bin/expect
#!/bin/ksh
... (12 Replies)
Discussion started by: pranavagarwal
12 Replies
3. Shell Programming and Scripting
Hallo all ,
I researched many article in this forum as well as googled. But could not get any help. I request the forum to extend some help.
Issue: Want to do a passwordless sftp from an unix machine to windows
action taken :
1) on local unix machine ssh-keygen -t dsa
2) Next step ,... (2 Replies)
Discussion started by: konark
2 Replies
4. Shell Programming and Scripting
Hi All,
I need to write a UNIX script that automates the sftp process. I should be able to do a sftp to a secure box and get a file from there. I am having a problem doing this because no matter what I do, when I run my script, I get a prompt at command line asking for a password. How could I... (34 Replies)
Discussion started by: priyamurthy2005
34 Replies
5. Shell Programming and Scripting
I'm working on setting up an automated script on a unix server to secure ftp (get) a file from a remote host which is a windows server with Vshell . I understand in order for the paswword-less authentication to work , I need to copy the authorization keys of our server(Solaris) to the remote host... (1 Reply)
Discussion started by: thrashers
1 Replies
6. Shell Programming and Scripting
Hi guyz,
I have a Solaris 5.9 box from which i need to connect to a windows server using Coreftp (passwordless login). Coreftp is installed on windows and in solaris, it is already available.I generated a pair of key(public,private) in windows and specify pub key over there, edit the know_hosts... (7 Replies)
Discussion started by: Renjesh
7 Replies
7. AIX
Guys,
sftp between Unix & Windows
I'd like to get good software or a way to how to configure sftp between ( windows to Unix ) and ( Unix to windows ) to be automatic login between the different operating systems without asking password ..
Pls assist in this regard … (3 Replies)
Discussion started by: Mr.AIX
3 Replies
8. Shell Programming and Scripting
Hi all
Not sure where I should be posting this so apologies if it's in the wrong section.
I'm trying to set up a system where we can copy a file (get) from a Windows server to a Unix server using SFTP in an automated way.
I've installed CoreFTP Server on the Windows server and can connect... (2 Replies)
Discussion started by: huskie69
2 Replies
9. UNIX for Dummies Questions & Answers
When I try to SFTP from our UNIX box to an outside vendor using passwords - no keys, I am immediately get disconnected.
We have the FIREWALL open because I get prompted for the password.
Here's the error:
sftp userid@sftp.test.com
Connecting to sftp.test.com...
userid@sftp.test.com's... (5 Replies)
Discussion started by: blt123
5 Replies
10. Shell Programming and Scripting
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 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