What im trying to do:
-
service-hosted rails app ( heroku or something )
-
user logs into application and wants to ” DO THINGS “
-
” DO THINGS ” entails running commands to the local machine i have here in my apartment
I’ve SSHed into a server before … but i think this would be best setup if the server initiates the connection
- I’m FAIRLY running a permanent SSH isnt the best idea
- I’m not 100% sure on the process .. i just need information transfer between my hosted application .. and my local machine.
ruby socket set of commands which could possibly work?
any particular gem that would handle this?
Thanks ahead of time!
so far it looks like NetSSH is the answer im looking for
at command prompt:
Next we create a new controller file:
and inside ssh_connections_controller.rb file place:
… and substitute your local settings…
‘wonton’ would be the name of whatever user you want to SSH in as
more to be updated!