Thread
:
[N950] Infodump Thread
View Single Post
mece
2011-10-18 , 08:33
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#
56
starting/stopping sshd is done with
Code:
/sbin/stop sshd /sbin/start sshd
Now I needed to get ssh working over 3g but there is an aegis protected script at /etc/network/if-up.d/drop_gprs_to_sshd that prevents gprs connections to port 22. Modifying the file would work but most likely malf the phone.
Frals suggested chmod -x the file so it wouldn't execute could work, but I don't know if aegis would allow that, and I didn't feel like testing, so I just changed the port instead.
To do that just edit the /etc/ssh/sshd_config file and set the port to whatever you want.
You also need modify the AllowUsers line to allow logins from your ip adresses.
__________________
Class .. :
Meddler, Thread watcher, Developer, Helper
Humor .. : [
********--
] Alignment:
Pacifist
Patience : [
*****-----
] Weapon(s):
N900, N950, Metal music
Agro ... : [
----------
] Relic(s) :
N95, NGage, Tamyia Wild One
Try
Tweed Suit
for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
Quote & Reply
|
The Following 9 Users Say Thank You to mece For This Useful Post:
ajalkane
,
daperl
,
jalyst
,
joerg_rw
,
khan.orak
,
marxian
,
mooglez
,
pedroesteban
,
reinob
mece
View Public Profile
Send a private message to mece
Find all posts by mece