×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Secure Shell Login Macro

Secure Shell Login Macro

Secure Shell Login Macro

(OP)
Has anyone figured out a way to create a login macro that works for secure shell? I tried many different ways and non of them worked. I am using Reflection for UNIX and OpenVMS 14.0.661 SP5. I am willing to use a newer version, if that will make this easier. I have a rather large macro that I need to schedule to run multiple times a day, but I can't get past the login part. The rest of the macro is running fine.

Thanks

RE: Secure Shell Login Macro

I've been looking into that too, but unfortunately there doesn't seem to be any way to programmatically provide a password for ssh. I think ssh is inherently designed to only accept a password interactively. The only thing you can set in the Reflection session file is the username, you can do that when you are setting up the ssh connection.

I'm thinking of asking our Unix admin to open up Telnet for Unix nodes that currently have ssh only. If you have Telnet then you can enter the userid and password in a macro. Telnet is less secure, obviously, but if you have the right safeguards then the risk can be mitigated. For example, you can set up Telnet to only accept connections from certain IP addresses. And you should only operate Telnet within a secure internal corporate network, never through the Internet.

RE: Secure Shell Login Macro

(OP)
mkohut thanks for your reply. My place of employment used to allow telnet for internal traffic over our secure internal network, but lately they have changed the policy. If, at some point, I find a workaround I will post it here to help you out.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close