Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
328 views
in Technique[技术] by (71.8m points)

Run from IntelliJ IDEA in remote server using SSH

Is there a way to run a program in a ssh server from inside IntelliJ IDEA?

I already have a SSH server configured. I can deploy code to it, upload and download.

But I don't want to run it manually inside de server every time I need to test a code change. I just want to run it normally using the UI in IntelliJ IDEA, but when I press the "green button" it actually runs it in the server.

Is this possible?

I have professional version.

question from:https://stackoverflow.com/questions/66050580/run-from-intellij-idea-in-remote-server-using-ssh

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

IntelliJ IDEA 2021.1 will have Run Targets feature for that. You can already try the EAP version.

For the older versions check my answer here.

It's also possible to run apps in the Docker container.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...