savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers] doc suggestion: protocol type config for upload file


From: Che Dong
Subject: [Savannah-hackers] doc suggestion: protocol type config for upload file vis scp
Date: Fri, 27 Sep 2002 12:07:14 +0800

Hi:
Please add comments on ssh protocol config on "How do I add files in the 
download area ?"
http://savannah.gnu.org/faq/?group_id=11&question=How_do_I_add_files_in_the_download_area.txt

add freesoftware.fsf.org into ~/.ssh/config like:
 Host subversions.gnu.org freesoftware.fsf.org
     Protocol 1

or use scp with -oProtocol=1 like:
scp -oProtocol=1  myfile address@hidden:/upload/myproject 

and sftp still need specify protocol type with -1 like:
sftp -1 address@hidden:/upload/myproject 

but I still can access via sftp, here is error message:
>>>>>>>>>>>>
sftp -1 -v address@hidden:/upload/phpman
Connecting to freesoftware.fsf.org...
OpenSSH_3.2.3p1, SSH protocols 1.5/2.0, OpenSSL 0x0090581f
debug1: Reading configuration data /home/chedong/.ssh/config
debug1: Applying options for freesoftware.fsf.org
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 12348 geteuid 0 anon 1
debug1: Connecting to freesoftware.fsf.org [199.232.41.4] port 22.
debug1: temporarily_use_uid: 12348/12348 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 12348/12348 (e=0)
debug1: restore_uid
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /home/chedong/.ssh/identity type 0
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.4p1 
Debian 1:3.4p1-0.0woody1
debug1: match: OpenSSH_3.4p1 Debian 1:3.4p1-0.0woody1 pat OpenSSH*
debug1: Local version string SSH-1.5-OpenSSH_3.2.3p1
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'freesoftware.fsf.org' is known and matches the RSA1 host key.
debug1: Found key in /home/chedong/.ssh/known_hosts:4
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: cipher_init: set keylen (16 -> 32)
debug1: cipher_init: set keylen (16 -> 32)
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: RSA authentication using agent refused.
debug1: Trying RSA authentication with key '/home/chedong/.ssh/identity'
debug1: Received RSA challenge from server.
Enter passphrase for RSA key '/home/chedong/.ssh/identity': 
debug1: Sending response to host key RSA challenge.
debug1: Remote: RSA authentication accepted.
debug1: RSA authentication accepted by server.
debug1: Sending command: /usr/local/libexec/sftp-server
debug1: Entering interactive session.
debug1: fd 0 setting O_NONBLOCK
You tried to execute: `/usr/local/bin/cvssh -c /usr/local/libexec/sftp-server'.
Sorry, you are only allowed to execute : 
CVS_RSH=ssh cvs commands
rsync from /cvsroot or /upload.
rsync to /upload.
sftp to and from /upload.
debug1: Transferred: stdin 9, stdout 0, stderr 223 bytes in 2.6 seconds
debug1: Bytes per second: stdin 3.4, stdout 0.0, stderr 84.5
debug1: Exit status 0
Connection closed
<<<<<<<<<<<

Thank you

Regards



Che, Dong


reply via email to

[Prev in Thread] Current Thread [Next in Thread]