× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I may end up using this ssh technique instead. I'm sure your steps sound easy to someone who has done this a few times before but I may need a little hand holding.

<snip>
What would I do? I'd ask the tech guys to install an ssh server on windows and log in to there with proper keys to call dnscmd directly over this session.
ssh Administrator@Servername "dnscmd record add blah"
</snip>

1 - Sometimes if I can give an example of a Windows ssh server that may help. And it may help me because they we'd both be using a known good combination.
2 - How to configure and consume "proper keys".
3 - How to best initiate a session from IBM i.

As for #3 I played with
QSH CMD('ssh rob@gdl57 dir >/test.txt')
And got connection refused. Which makes sense because my laptop doesn't have a ssh server running on it. So some example uses to make sure that I
A - Pass the right connection stuff
B - Generate an acceptable return code and/or log file to check
And whatever else you recommend for production use.
As a demonstration of my trying to figure this out on my own I have this link too
https://www.ibm.com/support/pages/configuring-ibm-i-ssh-sftp-and-scp-clients-use-public-key-authentication

The more I can tell the Windows admin "do this" the less internet searching they have to do and get exposed to all the FUD scaring them out of letting the Windows server serve up remote commands.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.