Glen Matthews | 3 Sep 15:48 2003

value for SSH_MSG_USERAUTH_GSSAPI_ERRTOK

Hi,

  i notice in draft-ietf-secsh-gsskeyex-06.txt that the value for
SSH_MSG_USERAUTH_GSSAPI_ERRTOK is not defined. does anyone know what this
should be (i guess *will* be in a future rev)? thanks

glen
Joel N. Weber II | 3 Sep 18:55 2003

Re: value for SSH_MSG_USERAUTH_GSSAPI_ERRTOK

> i notice in draft-ietf-secsh-gsskeyex-06.txt that the value for
> SSH_MSG_USERAUTH_GSSAPI_ERRTOK is not defined. does anyone know what this
> should be (i guess *will* be in a future rev)? thanks

The correct list for such questions would be the IETF working group
list, which happens to be ietf-ssh <at> netbsd.org
黃依濤 | 4 Sep 05:39 2003
Picon

SSH2: How can I forced the server(ssh2) to send messages to client?

Hi:
My ssh server  ( In ssh2 ) want to send messages to client ( putty ).
But I can't find way to do this.

I write below code :

packet_start( I_DONT_KNOW_WHICH_ID_TO_BE_USED );  <- ???
packet_put_cstring( "Some messages..." );
packet_send( );
packet_write_wait( );

In packet_start( ), Which ID must be used?
Or there is the other way?
Ulrich Windl | 4 Sep 09:05 2003
Picon

OpenSSH 3.5p1 (HP version): permissions of public identity

Hello,

I just received thes odd messages from HP-UX Secure Shell A.03.50.000. 
(OpenSSH 3.5p1):

# ssh-add id_rsa.pub
5215:  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at> 
5215:  <at>          WARNING: UNPROTECTED PRIVATE KEY FILE!           <at> 
5215:  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at> 
5215: Permissions 0644 for 'id_rsa.pub' are too open.
5215: It is recommended that your private key files are NOT accessible by 
others.
5215: This private key will be ignored.
5215: bad permissions: ignore key: id_rsa.pub
Enter passphrase for id_rsa.pub:

Now I think the ".pub" is a public key, so what's wrong with the permissions? 
Also, when private key will be ignored, why then ask for a password?

I'm a bit confused.

Regards,
Ulrich
Ulrich Windl | 4 Sep 09:08 2003
Picon

ssh-add -h gives incomplete message

Hi,

I just realized that the help message of "ssh-add -h" is incomplete:

# ssh-add -h
ssh-add: illegal option -- h
Usage: ssh-add [options]
Options:
  -l          List fingerprints of all identities.
  -L          List public key parameters of all identities.
  -d          Delete identity.
  -D          Delete all identities.
  -x          Lock agent.
  -X          Unlock agent.
  -t life     Set lifetime (in seconds) when adding identities.

The manual page says:
 SYNOPSIS
      ssh-add [-lLdDxX] [-t life] [file ...]
      ssh-add -s reader
      ssh-add -e reader

Most important, ssh-add -h does not tell you that you may pass an identity 
file as argument.

Regards,
Ulrich
Mark Janssen | 4 Sep 12:04 2003
Picon

Re: OpenSSH 3.5p1 (HP version): permissions of public identity

On Thu, 2003-09-04 at 09:05, Ulrich Windl wrote:
> Hello,
> 
> I just received thes odd messages from HP-UX Secure Shell A.03.50.000. 
> (OpenSSH 3.5p1):
> 
> # ssh-add id_rsa.pub
[snipped error messages]

Try ssh-adding your PRIVATE key...
$ ssh-add id_rsa

--

-- 
Mark Janssen -- maniac(at)maniac.nl -- GnuPG Key Id: 357D2178
Unix / Linux, Open-Source and Internet Consultant  <at>  SyConOS IT
Maniac.nl Unix-God.Net|Org MarkJanssen.org|nl SyConOS.com|nl
Damien Miller | 4 Sep 13:44 2003

Re: OpenSSH 3.5p1 (HP version): permissions of public identity

On Thu, 2003-09-04 at 17:05, Ulrich Windl wrote:
> Hello,
> 
> I just received thes odd messages from HP-UX Secure Shell A.03.50.000. 
> (OpenSSH 3.5p1):
> 
> # ssh-add id_rsa.pub

Don't add public keys. 

ssh-add id_rsa

-d
Ulrich Windl | 4 Sep 14:32 2003
Picon

Re: OpenSSH 3.5p1 (HP version): permissions of public identity

On 4 Sep 2003 at 12:04, Mark Janssen wrote:

> On Thu, 2003-09-04 at 09:05, Ulrich Windl wrote:
> > Hello,
> > 
> > I just received thes odd messages from HP-UX Secure Shell A.03.50.000. 
> > (OpenSSH 3.5p1):
> > 
> > # ssh-add id_rsa.pub
> [snipped error messages]
> 
> Try ssh-adding your PRIVATE key...

You are right; I mixed up the authentication model. Anyway the program was 
asking for a password after telling me that it will ignore the key. 
Inconsistent...

> $ ssh-add id_rsa

Regards,
Ulrich
Vinit Khandelwal | 5 Sep 07:41 2003

doing scp from java when file has spaces in it

Hi,

I am new to scp. I am trying to scp a file from local (m/c) to remote
through a java application running in Tomcat.

When I try to upload a file with no spaces in it, it works. But if spaces
are present (file name is : "Lots of spaces text .txt") it is not working.

Some of the things I tried are mentioned below and they failed. 

scp  [...options]  '/vhosts/dw02411/tmp_daemon/1020046111/Lots of spaces
text .txt' grt0002d <at> loninwebp7.uk.db.com:uploads 

scp  [...options]  /vhosts/dw02411/tmp_daemon/1020046111/Lots\\ of\\
spaces\\ text\\ .txt grt0002d <at> loninwebp7.uk.db.com:uploads 

scp  [...options]  /vhosts/dw02411/tmp_daemon/1020046111/Lots\ of\ spaces\
text\ .txt grt0002d <at> loninwebp7.uk.db.com:uploads 

scp  [...options]  /vhosts/dw02411/tmp_daemon/1020046111/"Lots of spaces
text .txt" grt0002d <at> loninwebp7.uk.db.com:uploads 

scp  [...options]  /vhosts/dw02411/tmp_daemon/1020046111//"Lots of spaces
text .txt/" grt0002d <at> loninwebp7.uk.db.com:uploads 

Is there any other way of running the command for scp from java application?

Thanks in advance.

Vinit
(Continue reading)

Vinit Khandelwal | 5 Sep 07:43 2003

Recall: doing scp from java when file has spaces in it

Vinit Khandelwal would like to recall the message, "doing scp from java when
file has spaces in
it".*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************

Gmane