Article 4TTWD Export user and password

Export user and password

by
tflythe
from LinuxQuestions.org on (#4TTWD)
Hello,
I want to ssh to a host and pull process info. I can do this but is there a way to export username and password so I don't have to type it every time. This is a test environment so we don't use keys.
Something like

export USERNAME=Joe
read -s PASSWORD
export PASSWORD

Thanks,
Flythelatest?d=yIl2AUoC8zA latest?i=3UTZqf5evTQ:uRRvJLGX8zg:F7zBnMy latest?i=3UTZqf5evTQ:uRRvJLGX8zg:V_sGLiP latest?d=qj6IDK7rITs latest?i=3UTZqf5evTQ:uRRvJLGX8zg:gIN9vFw3UTZqf5evTQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments