Tool to Start OpenSSH Server
Date Posted: October 22, 2009 12:00 AM

Q: We're using your articles on OpenSSH to act as an SFTP server. However, we're having trouble starting the server properly. I can start it manually in QShell and it works OK, but I can't seem to get it to start automatically. Any advice?

A: On IBM i 6.1, IBM has provided the ability to start the OpenSSH server (sshd) via the STRTCPSVR command. If you're on an earlier release (prior to 6.1), however, there's a free utility you can download from IBM to start the OpenSSH server.

The utility is called Start/End SSH Server (STRENDSSHD), and you can learn about it and download a save file containing the command from the IBM Software Knowledgebase document number 504545174.

Once you have this command installed, you can code a batch job (or whatever makes sense to you) to start the server as follows:

STRENDSSHD *STR

Want to use this article? Click here for options!
Want to subscribe? Click here!
There are no comments to display. Be the first to add your thoughts!
You must log on before posting a comment.

Are you a new visitor? Register Here
 

around the forums

better data access for AS400 applications
Forum Name: Systems Management
21 May 2012 06:22 AM | Replies: 0
Selection error involving field *N.
Forum Name: SQL, Query and Database
18 May 2012 02:19 PM | Replies: 6
WINDOWS 7 with CLIENT ACCESS 7 R1
Forum Name: Communications/Networking
18 May 2012 08:43 AM | Replies: 1

ProVIP Sponsors

BCD

Join Our Community!

Subscribe today to iPro Developer! iPro Developer is packed with technical know-how for developers of IBM i, iSeries, AS400 and System i. Sign up now to get your full subscriber benefits including:

  • Code available for download
  • Full access to the online article archive (including all System iNEWS ProVIP content)
  • Downloadable ebook with past 6 months of articles
  • Discounts on eLearning classes, self-paced training, in-person events, and more!
iPro Developer Newsletters
  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips