vro 8 cannot write to local file

This post was originally published on this site

I have a situation where I need to use an SSH Key (instead of user/password) to login to a server.  SSHSession only takes a file as input for this.  Worked fine in vRO 7 but with vRA 8, the disk is transient (container).  So I thought I would take a Resource Element, write it to a temp file and then hand that in to ssh.  But I can’t seem to create a local file.  I tried opening a file in System.getTempDirectory() but no luck.  I tried /tmp and /var/tmp, still no joy.  Any suggestions?


Thanks everyone,

Carl L.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.