IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Re: OpenSSH on the iSeries
You need option 33 for SS1 wich is on the OS/400 cd's.

You then download openssl-3.7.1.0.exe and zlib-1.1.4.0.exe from www.bullfreeware.com. ftp them binary to /QOpenSys/..., expand them running the .exe and restore them using /usr/sbin/restore under PASE using QP2TERM.

Generate host and client keys as normally using /usr/local/bin/ssh-keygen, and move the content of the generated id_rsa.pub, id_dsa.pub and identity.pub to a file called authorized_keys and move it to the dest host in users homedir in .ssh directory. See to that that same username is used on dest host as on iseries logon, or use the ssh -l when running ssh in general.

Interactive logon/tty is not supported - in other words make the whole config as 'dont promt for passwords' config.

You also need to adjust client ssh_config with dsa or identity and PasswordAuthentication no.

My /QOpenSys/usr/local/etc/ssh_config:

ForwardX11 no
RhostsRSAAuthentication no
RSAAuthentication yes
PasswordAuthentication no
HostbasedAuthentication no
BatchMode no
CheckHostIP no
AddressFamily any
ConnectTimeout 0
StrictHostKeyChecking no
#IdentityFile /.ssh/identity
IdentityFile /.ssh/id_dsa

If ssh-rand-helper fails then edit ssh_prng_cmds and replace cmds in script with 50-100 lines of > "/QOpenSys/usr/bin/ls" /QOpenSys/usr/bin 0.02 < (no<>) - Can also be done nicer thru API or PGM wich decreases connection time.

Editing files is most easy done using OS/400 cmdline EDTF '/QOpenSys/../filename' or thru a mapped NetServer SMB drive using a pceditor. Use OPSNAV to setup that env.

Use /QOpenSys/usr/local/bin/ssh -vvv x.x.x.x to debug.

FYI scp and sftp also works.

iSeries is just black magic !
Regards
michel@dk.ibm.com
Expand Edited by dk91056 Jan. 26, 2005, 08:23:00 PM EST
Expand Edited by dk91056 Jan. 26, 2005, 08:25:06 PM EST
New Thanks for the post.
As you can see, the topic has generated quite a bit of interest.

Cheers,
Scott.
New thanks for joining in, a lot of peple were just helped
Anyone who has passed through the regular gradations of a classical education, and is not made a fool by it, may consider himself as having had a very narrow escape: Samuel Butler
clearwater highschool marching band [link|http://www.chstornadoband.org/|http://www.chstornadoband.org/]
New Awesome.
Of course, now I'll have to make time to actually try it!

Thanks!
[link|http://forfree.sytes.net|
]
Imric's Tips for Living
  • Paranoia Is a Survival Trait
  • Pessimists are never disappointed - but sometimes, if they are very lucky, they can be pleasantly surprised...
  • Even though everyone is out to get you, it doesn't matter unless you let them win.


Nothing is as simple as it seems in the beginning,
As hopeless as it seems in the middle,
Or as finished as it seems in the end.
 
 
New thanks!
....that was way easier than the route I took to get it going.

As others here have said....thanks for the info!

New Re: thanks!
Uh oh...

"In any event, IBM will remove the initial 9406 versions of the 520 Express machines from marketing on April 1 (no joke).

On that same day, IBM also plans to withdraw the OS/400 PASE AIX runtime environment (feature 5732 of OS/400) from marketing, as well as its feature 1893 36.4 GB, 10K RPM disk drives. Now that the i5 supports the real AIX, IBM doesn't want to sell customers an AIX runtime environment or pay to support it on older machines. Customers who want to run Unix applications on their OS/400 platforms will just have to upgrade to i5s and run the real AIX. "

[link|http://www.itjungle.com/tfh/tfh021405-story04.html|http://www.itjungle....1405-story04.html]

I think that says it all...
New Re: thanks!
false alarm

[link|http://www.itjungle.com/tfh/tfh022105-story02.html|http://www.itjungle....2105-story02.html]
     Re: OpenSSH on the iSeries - (Jessica) - (29)
         Sorry, no one figured it out - (broomberg) - (6)
             Sorta says something about the platform, don't it? -NT - (mmoffitt)
             all things shall pass in time... - (slugbug)
             Re: Sorry, no one figured it out - (Jessica) - (3)
                 I dunno, is it angsty in here? - (jake123) - (1)
                     Re: I dunno, is it angsty in here? - (Jessica)
                 Not that... - (bepatient)
         not knowing you box but from a generic nix point of view - (daemon) - (1)
             Re: not knowing you box but from a generic nix point of view - (Jessica)
         hold the phone... - (slugbug) - (12)
             Re: hold the phone... - (Jessica) - (10)
                 out of curiosity - (daemon)
                 Re: hold the phone... - (djelimon) - (8)
                     Re: hold the phone... - (slugbug) - (7)
                         Re: hold the phone... - (djelimon) - (6)
                             Re: hold the phone... - (djelimon) - (5)
                                 OT: I like your .sig! -NT - (imric)
                                 OT: Yes, I too like your .sig -NT - (slugbug)
                                 it's been said before - (cforde) - (2)
                                     problem was sales - (daemon)
                                     I had to make a choice about a year ago - (broomberg)
             Re: hold the phone... - (dk91056)
         Re: OpenSSH on the iSeries - (dk91056) - (6)
             Thanks for the post. - (Another Scott)
             thanks for joining in, a lot of peple were just helped -NT - (daemon)
             Awesome. - (imric)
             thanks! - (slugbug) - (2)
                 Re: thanks! - (djelimon) - (1)
                     Re: thanks! - (djelimon)

A few lettuce pieces short of a salad.
101 ms