You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Anton Tagunov <at...@mail.cnt.ru> on 2003/06/30 10:54:27 UTC

Re[2]: Nightly builds?

Hello Craig!

CRM> I haven't been able
CRM> to re-establish my SSH based automatic authentication so that uploading to
CRM> the website can happen without requiring a login.  Has anyone else had
CRM> that issue on icarus (a.k.a cvs.apache.org)?

Me too, but maybe I'm lameristic :)
In fact I use windows port of SSH (by Gorden Chaffee, ssh-1.2.14-win32bin.zip)
with windows port of cvs. CVS and ssh work fine but I fail to do scp.
But I have been failing this for a long time already. Maybe the reason
is that with scp I did not find a way to specify my cvs.apache.org
username (atagunov), while my login name here at Win2K is different.

So, I do not think I have tremendously helped you, sorry :-)

- Anton


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


RE: Re[2]: Nightly builds?

Posted by Danny Angus <da...@apache.org>.
> Me too, but maybe I'm lameristic :)
> In fact I use windows port of SSH (by Gorden Chaffee, 
> ssh-1.2.14-win32bin.zip)
> with windows port of cvs. CVS and ssh work fine but I fail to do scp.
> But I have been failing this for a long time already. Maybe the reason
> is that with scp I did not find a way to specify my cvs.apache.org
> username (atagunov), while my login name here at Win2K is different.


Try using "putty" on windows, it has implementations of scp sftp ssh and agent, has a good ssh terminal GUI or you can use a commandline version. 

http://www.chiark.greenend.org.uk/~sgtatham/putty/


Re: SSH access (was Nightly builds?)

Posted by Anton Tagunov <at...@mail.cnt.ru>.
Hello Noel!

AT> I do have SSH 3.2.0 http://www.ssh.com

AT> But, with that program I have another kind of difficulty:
AT> by itself it generates keys of some format not recognized
AT> by ssh server running on cvs.apache.org.

NJB> See: http://www.ices.utexas.edu/adminworld/sshinterop.html#5

NJB> I had to do the same thing, since I use SSH 3.1.1.

Thank you very much, Noel it worked!
ssh-keygen -i -f has rescued my ability to use SSH 3.2.0 to
password-less login icarus :-))

-Anton


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


SSH access (was Nightly builds?)

Posted by "Noel J. Bergman" <no...@devtech.com>.
> I do have SSH 3.2.0 http://www.ssh.com

> But, with that program I have another kind of difficulty:
> by itself it generates keys of some format not recognized
> by ssh server running on cvs.apache.org.

See: http://www.ices.utexas.edu/adminworld/sshinterop.html#5

I had to do the same thing, since I use SSH 3.1.1.

> In fact icarus only likes "ssh 1.1" keys.

Not true.  I use SSH protocol 2 with the ASF servers, and public key
authentication.  Here is mine:

 $ cd .ssh
 $ ls -l
  total 2
  -rw-r--r--  1 noel  noel  606 Oct 30  2002 authorized_keys2
  -rw-r--r--  1 noel  noel  936 Feb 22 23:22 known_hosts
  $ cat auth*
  ssh-dss [clip] noel@devtech.com

Let me know if that helps.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


RE: Re[4]: Nightly builds?

Posted by Danny Angus <da...@apache.org>.
> But, with that program I have another kind of difficulty:
> by itself it generates keys of some format not recognized
> by ssh server running on cvs.apache.org. The keys of this
> format look like

Top tip .. I find it often avoids pain if you generate your keys on the server you're connecting to rather on your own desktop.
Particularly if the former is *nix and the latter isn't.

d.

Re[4]: Nightly builds?

Posted by Anton Tagunov <at...@mail.cnt.ru>.
Hello Noel!

AT> I use windows port of SSH (by Gorden Chaffee, ssh-1.2.14-win32bin.zip)
AT> with windows port of cvs. CVS and ssh work fine but I fail to do scp.

Noel J. Bergman:
NJB> I'm not familiar with that port, but from the little that I have found it
NJB> seems to be ancient and out-of-date.  Have you considered installing the
NJB> cygwin port of OpenSSH?  Personally, I use either MindTerm or SSH.

Danny Angus:
DA> Try using "putty" on windows, it has implementations of scp sftp
DA> ssh and agent, has a good ssh terminal GUI or you can use
DA> a commandline version.

DA> http://www.chiark.greenend.org.uk/~sgtatham/putty/

Thank you, Noel and Danny!
In fact Gorden Chaffee's ssh is has only a dumb terminal so it would
be a nightmare to use for real ssh access. I do have SSH 3.2.0
http://www.ssh.com

But, with that program I have another kind of difficulty:
by itself it generates keys of some format not recognized
by ssh server running on cvs.apache.org. The keys of this
format look like

---- BEGIN SSH2 PUBLIC KEY ----
Comment: "[2048-bit dsa, d@trist, Sat Jun 07 2003 17:13:22]"
...
---- END SSH2 PUBLIC KEY ----

---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
Comment: "[2048-bit dsa, d@trist, Sat Jun 07 2003 17:13:22]"
...
---- END SSH2 ENCRYPTED PRIVATE KEY ----


In its turn keygen.exe supplied with Gorden Chaffee's port generates
keys that look like

public:
    1024 35 13916.....283 atagunov@trist

private:
    SSH PRIVATE KEY FILE FORMAT 1.1

    ....

Maybe keygen.exe generates some "ssh 1.1" keys while SSH 3.2.0 generates
"ssh 2" keys. In fact icarus only likes "ssh 1.1" keys.

For some reason I failed to make SSH 3.2.0 submit "ssh 1.1" key
generated with keygen.exe, that's why I have to login with SSH 3.2.0,
but that's not that bad, that is the full story.

Yup, I have seen Putty once, I even have the distribution somewhere
in my archs. A real nice program, all setup on one screen, but I like
SSH 3.2.0 better :-)

It looks like Gorden Chaffee's port of ssh is the only thing that
works with native windows port of cvs available from their official
site, and it works okay.

AT> Maybe the reason is that with scp I did not find a way to specify my
AT> cvs.apache.org username (atagunov), while my login name here at Win2K
AT> is different.

NJB>   scp <file> atagunov@cvs.apache.org:<file>

WOW! it worked!  Thanks, Noel very much! :-))
So the port of ssh is not that bad as it fuels both scp and cvs :-)

And I used that because I did not want to pay for the traffic to
get the real huge Cygwin.

-Anton


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


RE: Re[2]: Nightly builds?

Posted by "Noel J. Bergman" <no...@devtech.com>.
> I use windows port of SSH (by Gorden Chaffee, ssh-1.2.14-win32bin.zip)
> with windows port of cvs. CVS and ssh work fine but I fail to do scp.


I'm not familiar with that port, but from the little that I have found it
seems to be ancient and out-of-date.  Have you considered installing the
cygwin port of OpenSSH?  Personally, I use either MindTerm or SSH.

> Maybe the reason is that with scp I did not find a way to specify my
> cvs.apache.org username (atagunov), while my login name here at Win2K
> is different.

  scp -i <path-to-private-key> ...

or

  scp <file> atagunov@cvs.apache.org:<file>

In Craig's case, it turn out to be a file permissions issue.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org