as400 does not work with a ssh connection

25 pts.
Tags:
#AS400 #SSH #powershell
Hi guys, I want to connect my computer to the as400 server with powershell and a ssh connection. I can connect to my as400 with putty but it doesen't work with powershell. With powershell i can send my user and send password when it'need. On AS400, i can see my session with the command wrkactjob on the subsystem. My problem is : i can send my password but powershell never let send another command. Like it's waiting something from the AS400 but it never come. command on powershell: ssh -T toto@192.168.110.10 password ==> Answer send I can never send another command Could y ou help me please ? Thank you
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    What other commands are you looking to run? Post your code so we can take a look. It might just need a parameter tweaked to get it working . 
    135,305 pointsBadges:
    report
  • Olivier01
    I'd like to drive my as400 with a windows servers. For exemple, i need to submit job, take a look if there is a messagewait and read the log. In case there is an issue, i need to send an email to my ticket sotware. 
    In other words, i need to send command to my as400, read the result and act with some conditions.
    I dont want to work just with as400, because we dont have the competences in my work.

    thank you for your concern
    25 pointsBadges:
    report
  • Olivier01
    ssh -T errard@veh 'system "DSPMSG MSGQ(IKSPOBJ/RODEUR_GDC)" ' > a.txt
    25 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: