Sponsored Content
Full Discussion: Cygwin OpenSSH Windows
Special Forums Windows & DOS: Issues & Discussions Cygwin OpenSSH Windows Post 302260454 by kowy on Thursday 20th of November 2008 01:51:51 PM
Old 11-20-2008
I'm having trouble one step before you

Hi guys, sorry if my spelling is not the best, but english is not my mother tongue.

This is my first experience with Linux. I have Windows server 2003 enterprise x64, sith SP 2 in english, and I have to setup a SFTP, that authenticates with a public password. I choose to use OpenSSH which i think it is the best option fot SFTP with a public key authentication.

I have tried to follow some pages, like... Setting up a SFTP Server on Windows but I can get it running.

Im going to describe what i did, step by step, as best as posible, hopping that somebody can tell me where my mistake is.

1.- Downloaded a zip file from here: Setting up a SFTP Server on Windows

2.- I tried to follow this guide: http://www.cs.bham.ac.uk/~smp/projects/ssh-windows/, and i made it till the point where it says:

HTML Code:
 <q>
     Assign the server users account (sshd) the appropriate rights:
           ntrights +r SeAssignPrimaryTokenPrivilege -u sshd
</q>
When I type the ntrights, the comand line shows:
HTML Code:
<q>
'ntrights' is not recognized as an internal or external command, operable program or batch file.
</q>
And after that i havenīt been able to move on.

Can somebody help me please... thanks
 

10 More Discussions You Might Find Interesting

1. BSD

How to use Cygwin to access X windows

Hi, I use WinMe, want to access, remotely, X-windows of my FreeBSD6.2 machine using the Cigwin from my windows machine as a normal user. However, I can login (through ssh and Telnet) to my FeeBSD machine as root and/or 'su' from some users grouped to the 'wheel' group. I'm still new to... (1 Reply)
Discussion started by: Praveen_218
1 Replies

2. UNIX for Dummies Questions & Answers

How to install Cygwin on Windows XP SP2

Please can anyone help me with how to install cygwin on a windows Xp SP2 platform, I cant seem to get it to work? (1 Reply)
Discussion started by: jimoney
1 Replies

3. UNIX for Dummies Questions & Answers

scp from aix to windows (cygwin) fails

Hi... my problem is that I want to copy one html-file to my windows-box webserver using scp. so far no problem but the destination is in /cygdrive/c/program files/dest and as we all know unix doesnt like spaces in paths. scp html.file user@windowsbox:/cygdrive/c/program... (5 Replies)
Discussion started by: cypher82
5 Replies

4. Windows & DOS: Issues & Discussions

OpenSSH Server for Windows 2003

Hi Gurus I have installed OpenSSH server in one of my Windows 2003 boxes. I have installed the setup and added the users as told in the link. But i am getting an "Access denied" whenever i try to log in through ssh or sftp. But when i try to log in through my loopback IP (127.0.0.1),i am... (1 Reply)
Discussion started by: Renjesh
1 Replies

5. Programming

print C codes from Solaris 10, x86 to cygwin on Windows?

Sorry, I meant to type "porting C codes from Solaris 10, x86 to cygwin in Windows" I just installed cygwin 1.7 to my Windows PC. I have a C program that compiles fine using gcc on Solaris 10, x86. This C program contains system calls like: system ("ls -l > file.txt"); and system... (3 Replies)
Discussion started by: serendipity1276
3 Replies

6. Windows & DOS: Issues & Discussions

OpenSSH with windows server 2003

Hi people, I'm trying to configure the OpenSSH in my win server 2003 to accept connection with public/private keys, without password. I research all over internet sites about, almost all them, have the same instructions that doesn't work. I can just get a sFTP connection with password without... (0 Replies)
Discussion started by: laurentiis
0 Replies

7. Shell Programming and Scripting

cygwin script problem windows

I'm using cygwin to make some scripts,but I have the following problem. If I create a simple script like this one: if echo "Error" exit 1 fi echo "`expr $1 + $2`" I obtain line 6: syntax error:unexpected end of file. If I create the same script with cat>filename.txt and execute it... (4 Replies)
Discussion started by: Max89
4 Replies

8. UNIX for Dummies Questions & Answers

Cygwin/X11 issues on Windows 7

Hi All, I recently upgraded to windows 7 and am therefore reinstalling cygwin/x11 after a long time. On XP I would start xterm from the startxwin.bat file. I am experiencing trouble starting with the startxwin executable which is the new recommended startup method as well as afew other... (2 Replies)
Discussion started by: ScKaSx
2 Replies

9. Programming

Automatic SFTP transfers using OpenSSH on Windows and C#

I would like to create console application in c# to automate the process of downloading some files from a SFTP server to my local hard drive at a set time each week/day. SFTP Server installed OpenSSH for windows and client machine also. Any ideas how I could do such a task? or sample code. ... (0 Replies)
Discussion started by: sufiiyan
0 Replies

10. Red Hat

How to make a Password-Less Login from Windows to Linux using OpenSSH?

I installed the OpenSSH on my Windows Machine. I want to connect to the remote Linux machine without typing password. I followed the bellow instructions but the SSH needs password to establish the connection yet. Open CMD and run: ssh-keygen -t rsa (The public and private keys are generated in... (1 Reply)
Discussion started by: manoj.solaris
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)
All times are GMT -4. The time now is 10:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy