eclipse里有一個強大的插件,可以直接在本地編輯遠程服務器代碼,Eclipse Remote System Explorer (RSE)
下載安裝方法:
一、下載,高版本的eclipse可以直接下載,
1、打開help——Eclipse Market Place,在find里輸入remote搜索,搜索過程可能會有些慢
2、找到Remote System Explorer,點擊installed,至此下載安裝完畢
二、配置
1、打開windows——Perspective——Open Perspective——other,選擇Remote System Explorer
2、eclipse左側會出現Remote System窗口,在窗口空白處右鍵,選擇New connection,彈出的窗口中選擇linux
3、host name 中輸入ip next
4、configuration中選擇ssh.files,finish
5、輸入用戶名密碼就可以連接了,如果用戶名不對,可以右鍵在屬性里修改
本機任意操控遠程服務器代碼,爽