create account

记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running. by justyy

View this thread on: hive.blogpeakd.comecency.com
· @justyy · (edited)
$92.13
记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running.
*Abstract*: One of the [Python](https://helloacm.com/simple-profiling-in-python/) scripts stopped working last Friday when I was AWAY_FROM_KEYBOARD. That script is used to automate (via the Linux [crontab](https://helloacm.com/crontab-generator/)) the CN Daily Ranking table and relevant information. I used [Teamviewer](https://helloacm.com/does-teamviewer-support-multi-screens-monitors/) to login to my desktop at home, where I opened the SSH terminal to connect to VPS remotely. I typed in the command manually and re-run the Python script.

However, there are SSH client terminals on both Android or IOS (iPhone) smart phones, so it might be quicker to SSH to remote servers using [SSH](https://helloacm.com/the-ultimate-vps-from-quickhostuk/) clients but there is still a risk to enter your account credentials of VPS account on your smart phones.

昨天 在和好基友(前群主)  @tumutanzi  电话时,就谈到了我那每日榜单。我说现在已经基本上实现全自动化了:我写了几个[PYTHON](https://justyy.com/archives/5217)脚本,每日通过 steemsql 生成统计数据,生成每日前30名榜单,然后每10分钟根据榜单实现自动点赞,记录到日子中,通过 crontab 设置:每日英国正午12点准时发布帖子。

当然,程序并不完美,有时候 使用的PYTHON库会抽风,就是会有异常抛出,为了避免重复发贴,我并没有做相应的异常处理。实际上重复发贴也不太可能,因为:[STEEMIT](https://justyy.com/archives/5301) 连续2次发贴必须间隔最少5分钟,并且程序本地做了记录(成功发贴做了相应的标记)

当时,我人在外面,大概2点多的时候我刷了一下手机,发现帖子并没有成功发出,所以我就有点焦虑了。虽然我可以等到晚上回家再补上,但是这明显并不是我的风格。于是我想到了 [TeamViewer](https://justyy.com/archives/1445), 一个可以免费(仅限于个人目的)使用的跨平台远程登陆的软件。

我在手机上装了 Teamviewer, 远程登陆家里的服务器,然后在 [iphone se](https://justyy.com/archives/4081) 小屏幕上打开 SSH 终端,远程登陆VPS,并且手动敲入命令。

![2017-09-15 14.40.22.png](https://steemitimages.com/DQmPRP7n7FwL1rwqqWc8wsedgMVtCasFSNmNbWNspuhRkXG/2017-09-15%2014.40.22.png)

![2017-09-15 14.40.26.png](https://steemitimages.com/DQmTszBUp2Hpd3JVVoEAzyniVq2jpeJkXZ88x8N4HHmPHFU/2017-09-15%2014.40.26.png)

成功了!刷新一下STEEM 页面,帖子发布了,每日一贴,为大家提供更新,鼓励大家创作([优质机器人](https://justyy.com/archives/5239) @justyy 根据前30名点赞)从不间断。

其实也可以直接在手机上装 SSH 客户端,然后在手机上SSH直接连接VPS服务器即可,但是当时只想着连接家里的电脑更安全一些(因为不需要直接在手机上输入远程服务器的用户名和密码)。以下是在苹果手机IOS系统上装的一个SSH客户端。

![2017-09-17 12.32.14.png](https://steemitimages.com/DQmVHRsTbFLa3xJWE1kuZSRGFxk69bAg4TNBLBNwuW65mVV/2017-09-17%2012.32.14.png)

![](https://justyy.com/wp-content/uploads/2017/07/justyy-steemit.png)

STEEMIT 中文区 RSS 工具和名单:
- [SteemIt 好友微信群排行榜](https://helloacm.com/tools/steemit/wechat/)
- [SteemIt 好友微信群文章列表](https://helloacm.com/tools/steemit/wechat/rss/)
- [SteemIt 好友微信群评论列表](https://helloacm.com/tools/steemit/wechat/rss/comments/)

Chrome 插件:
- [隐藏收益,专注写作!](https://justyy.com/archives/5269)
- [简繁体自动转换](https://justyy.com/archives/5016)

Steem API:
- [获取微信群成员关注和粉丝的API](https://justyy.com/archives/5241)
- [SteemIt API/transfer-history 最简单获取帐号钱包记录的API](https://justyy.com/archives/5070)
- [简单封装了一下 steemit/account](https://justyy.com/archives/5063)

最近帖子:
- [CN 每日排行榜](https://steemit.com/cn/@justyy/daily-cn-updates---cn72017-09-16)
- [即使你不打算换工作,你每年也得去面试](https://steemit.com/cn/@justyy/go-to-an-interview-even-if-you-are-not-changing-your-job)
- [STEEM中文区剪刀石头布大赛 - 第一期 (奖金30 SBD + 帖子SBD收益)](https://steemit.com/cn/@justyy/steem-50-sbd)

STEEMIT CN RSS Tools:
- [SteemIt Daily Wechat Group Ranking ](https://helloacm.com/tools/steemit/wechat-ranking/)
- [SteemIt CN RSS for Posts](https://helloacm.com/tools/steemit/wechat-ranking/rss/)
- [SteemIt CN RSS for Comments](https://helloacm.com/tools/steemit/wechat-ranking/rss/comments/)

Chrome Extensions:
- [Hide Steemit Payout](https://helloacm.com/hide-steemit-payout/)
- [Simplified to Traditional Switch](https://helloacm.com/chrome-extension-to-switch-between-simplified-chinese-and-traditional-chinese-automatically/)

Steem API:
- [Two APIs to get the followers and following list in the Wechat Group](https://helloacm.com/steemit-api-two-apis-to-get-the-followers-and-following-list-in-the-wechat-group/)
- [SteemIt API/transfer-history](https://helloacm.com/how-to-get-transfer-history-of-steemit-accounts-via-steemit-apitransfer-history/)
- [steemit/account](https://helloacm.com/how-to-retrieve-steemit-account-information-via-api-steemitaccount/)

Recent Posts:
- [Daily Top 30 Authors by Pending Payout in Last 7 Days](https://steemit.com/stats/@dailystats/daily-top-30-authors-pending-payout-in-the-last-7-days-2017-09-16)
- [Go to an Interview even if you are not changing your job.](https://steemit.com/cn/@justyy/go-to-an-interview-even-if-you-are-not-changing-your-job)
- [Rock-Paper-Scissors Gaming Contest for SteemIt CN Community](https://steemit.com/cn/@justyy/steem-50-sbd)
 
// Later, it may be reposted to my blogs: [justyy.com](https://justyy.com), [helloacm.com](https://helloacm.com) and [codingforspeed.com](https://codingforspeed.com)  稍后同步到我的[中文博客](https://justyy.com)和英文[计算机](https://helloacm.com)[博客](https://codingforspeed.com)。
- [记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历](https://justyy.com/archives/5322)
- [The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running.](https://helloacm.com/the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-robot-python-script-up-running/)

Originally published at https://steemit.com Thank you for reading my post, feel free to Follow, Upvote, Reply, ReSteem (repost) @justyy which motivates me to create more quality posts.

原文首发于 https://Steemit.com 首发。感谢阅读,如有可能,欢迎Follow, Upvote, Reply, ReSteem (repost) @justyy 激励我创作更多更好的内容。
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 58 others
properties (23)
authorjustyy
permlinkteamviewer-vps-steemit-the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a
categorycn
json_metadata{"tags":["cn","crontab","steemstem","linux","teamviewer"],"users":["tumutanzi","justyy"],"image":["https://steemitimages.com/DQmPRP7n7FwL1rwqqWc8wsedgMVtCasFSNmNbWNspuhRkXG/2017-09-15%2014.40.22.png","https://steemitimages.com/DQmTszBUp2Hpd3JVVoEAzyniVq2jpeJkXZ88x8N4HHmPHFU/2017-09-15%2014.40.26.png","https://steemitimages.com/DQmVHRsTbFLa3xJWE1kuZSRGFxk69bAg4TNBLBNwuW65mVV/2017-09-17%2012.32.14.png","https://justyy.com/wp-content/uploads/2017/07/justyy-steemit.png"],"links":["https://helloacm.com/simple-profiling-in-python/","https://helloacm.com/crontab-generator/","https://helloacm.com/does-teamviewer-support-multi-screens-monitors/","https://helloacm.com/the-ultimate-vps-from-quickhostuk/","https://justyy.com/archives/5217","https://justyy.com/archives/5301","https://justyy.com/archives/1445","https://justyy.com/archives/4081","https://justyy.com/archives/5239","https://helloacm.com/tools/steemit/wechat/","https://helloacm.com/tools/steemit/wechat/rss/","https://helloacm.com/tools/steemit/wechat/rss/comments/","https://justyy.com/archives/5269","https://justyy.com/archives/5016","https://justyy.com/archives/5241","https://justyy.com/archives/5070","https://justyy.com/archives/5063","https://steemit.com/cn/@justyy/daily-cn-updates---cn72017-09-16","https://steemit.com/cn/@justyy/go-to-an-interview-even-if-you-are-not-changing-your-job","https://steemit.com/cn/@justyy/steem-50-sbd","https://helloacm.com/tools/steemit/wechat-ranking/","https://helloacm.com/tools/steemit/wechat-ranking/rss/","https://helloacm.com/tools/steemit/wechat-ranking/rss/comments/","https://helloacm.com/hide-steemit-payout/","https://helloacm.com/chrome-extension-to-switch-between-simplified-chinese-and-traditional-chinese-automatically/","https://helloacm.com/steemit-api-two-apis-to-get-the-followers-and-following-list-in-the-wechat-group/","https://helloacm.com/how-to-get-transfer-history-of-steemit-accounts-via-steemit-apitransfer-history/","https://helloacm.com/how-to-retrieve-steemit-account-information-via-api-steemitaccount/","https://steemit.com/stats/@dailystats/daily-top-30-authors-pending-payout-in-the-last-7-days-2017-09-16","https://justyy.com","https://helloacm.com","https://codingforspeed.com","https://justyy.com/archives/5322","https://helloacm.com/the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-robot-python-script-up-running/","https://steemit.com","https://Steemit.com"],"app":"steemit/0.1","format":"markdown"}
created2017-09-17 09:37:48
last_update2017-09-17 21:28:30
depth0
children11
last_payout2017-09-24 09:37:48
cashout_time1969-12-31 23:59:59
total_payout_value70.682 HBD
curator_payout_value21.451 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,372
author_reputation280,616,224,641,976
root_title"记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id15,121,903
net_rshares35,492,611,747,330
author_curate_reward""
vote details (122)
@drunkevil ·
这姿势很不错👍
properties (22)
authordrunkevil
permlinkre-justyy-teamviewer-vps-steemit-the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-20170917t094844135z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-09-17 09:48:45
last_update2017-09-17 09:48:45
depth1
children0
last_payout2017-09-24 09:48:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation8,031,279,202,083
root_title"记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id15,122,648
net_rshares0
@ety001 ·
$0.05
Teamviewer 出门必备。
👍  
properties (23)
authorety001
permlinkre-justyy-teamviewer-vps-steemit-the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-20171227t091341029z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-12-27 09:13:42
last_update2017-12-27 09:13:42
depth1
children2
last_payout2018-01-03 09:13:42
cashout_time1969-12-31 23:59:59
total_payout_value0.045 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length16
author_reputation57,395,188,397,494
root_title"记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id25,480,442
net_rshares6,857,831,862
author_curate_reward""
vote details (1)
@justyy ·
你这挖坟挖得好。
properties (22)
authorjustyy
permlinkre-ety001-re-justyy-teamviewer-vps-steemit-the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-20171227t093023422z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-12-27 09:30:27
last_update2017-12-27 09:30:27
depth2
children1
last_payout2018-01-03 09:30:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length8
author_reputation280,616,224,641,976
root_title"记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id25,482,332
net_rshares0
@ety001 ·
掘坟小能手~
properties (22)
authorety001
permlinkre-justyy-re-ety001-re-justyy-teamviewer-vps-steemit-the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-20171227t100838451z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-12-27 10:08:39
last_update2017-12-27 10:08:39
depth3
children0
last_payout2018-01-03 10:08:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6
author_reputation57,395,188,397,494
root_title"记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id25,487,100
net_rshares0
@jiangchen ·
为你的技术性点赞!
properties (22)
authorjiangchen
permlinkre-justyy-teamviewer-vps-steemit-the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-20170917t094716433z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-09-17 09:47:15
last_update2017-09-17 09:47:15
depth1
children0
last_payout2017-09-24 09:47:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length9
author_reputation65,999,946,618,359
root_title"记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id15,122,547
net_rshares0
@stacee ·
太执着了!
properties (22)
authorstacee
permlinkre-justyy-teamviewer-vps-steemit-the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-20170917t110727274z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-09-17 11:07:30
last_update2017-09-17 11:07:30
depth1
children0
last_payout2017-09-24 11:07:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5
author_reputation73,090,601,827,451
root_title"记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id15,127,344
net_rshares0
@tumutanzi · (edited)
这也是中毒不浅的症状啊,得治。
properties (22)
authortumutanzi
permlinkre-justyy-teamviewer-vps-steemit-the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-20170917t095135982z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-09-17 09:51:39
last_update2017-09-17 09:51:45
depth1
children3
last_payout2017-09-24 09:51:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length15
author_reputation193,724,901,968,179
root_title"记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id15,122,808
net_rshares0
@justyy ·
嗯,另一种中毒症状。
properties (22)
authorjustyy
permlinkre-tumutanzi-re-justyy-teamviewer-vps-steemit-the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-20170917t095434107z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-09-17 09:54:33
last_update2017-09-17 09:54:33
depth2
children2
last_payout2017-09-24 09:54:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length10
author_reputation280,616,224,641,976
root_title"记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id15,122,976
net_rshares0
@jubi ·
我这有药,支持sbd steem 付款。  啊哈哈
properties (22)
authorjubi
permlinkre-justyy-re-tumutanzi-re-justyy-teamviewer-vps-steemit-the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-20170917t095721333z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-09-17 09:58:33
last_update2017-09-17 09:58:33
depth3
children1
last_payout2017-09-24 09:58:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length25
author_reputation82,406,494,254,467
root_title"记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id15,123,187
net_rshares0
@wlcpu ·
执着的技术牛
properties (22)
authorwlcpu
permlinkre-justyy-teamviewer-vps-steemit-the-experience-of-using-teamviewer-on-iphone-se-connecting-to-desktop-and-ssh-to-vps-in-order-to-make-a-20170917t102109442z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-09-17 10:21:15
last_update2017-09-17 10:21:15
depth1
children0
last_payout2017-09-24 10:21:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6
author_reputation105,423,493,318
root_title"记一次通过手机TeamViewer远程登陆家里服务器再远程登陆VPS敲命令在STEEMIT上发贴的经历 - The experience of using Teamviewer on iPhone SE, connecting to desktop, and SSH to VPS, in order to make a Robot Python script up running."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id15,124,557
net_rshares0