2007年8月26日日曜日

ssh

sshdをインストールし、wifi経由でアクセス。パスワードを忘れずに変えておく。

No mail.
# ls
Library Media
# passwd
Changing password for root.
New password:
Retype new password:
# ls
Library Media
# cd /
# ls
Applications bin dev mach tmp
Library com.apple.itunes.lock_sync etc private usr
System cores iTunes_Control sbin var
# ps
PID TT STAT TIME COMMAND
192 p0 Ss 0:00.08 -sh
398 p0 R+ 0:00.01 ps
# ps aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 15 0.7 0.0 320088 20708 ?? Ss 4:31PM 0:15.62 /System/Librar
root 140 0.2 0.0 274164 980 ?? S 4:37PM 0:00.51 /usr/bin/sshd2
root 12 0.0 0.0 277408 1120 ?? Ss 4:31PM 0:00.18 /usr/sbin/BTSe
root 13 0.0 0.0 277956 1188 ?? Ss 4:31PM 0:00.76 /System/Librar
root 16 0.0 0.0 275084 1428 ?? Ss 4:31PM 0:03.36 /usr/sbin/conf
root 17 0.0 0.0 273396 532 ?? Ss 4:31PM 0:00.07 /usr/libexec/c
root 18 0.0 0.0 272968 496 ?? Ss 4:31PM 0:00.07 /usr/sbin/cron
root 19 0.0 0.0 284124 1384 ?? Ss 4:31PM 0:00.55 /System/Librar
root 20 0.0 0.0 273696 756 ?? Ss 4:31PM 0:00.30 /usr/sbin/mDNS
root 21 0.0 0.0 275144 1140 ?? Ss 4:31PM 0:02.03 /usr/libexec/l
root 22 0.0 0.0 274000 428 ?? Ss 4:31PM 0:02.90 /usr/sbin/sysl
root 23 0.0 0.0 264644 276 ?? Ss 4:31PM 0:00.18 /usr/sbin/upda
root 24 0.0 0.0 282288 928 ?? Ss 4:31PM 0:00.23 /usr/libexec/p
root 25 0.0 0.0 289876 1532 ?? Ss 4:31PM 0:00.86 /usr/sbin/medi
root 27 0.0 0.0 273456 408 ?? Ss 4:31PM 0:00.39 /usr/sbin/noti
root 33 0.0 0.0 299652 1704 ?? S 4:31PM 0:00.52 /Applications/
root 40 0.0 0.0 302404 4476 ?? S 4:32PM 0:04.65 /Applications/
root 54 0.0 0.0 274064 352 ?? Ss 4:34PM 0:00.01 /usr/bin/sshd2
root 192 0.0 0.0 274168 1088 p0 Ss 4:39PM 0:00.09 -sh
root 404 0.0 0.0 272872 332 p0 R+ 4:46PM 0:00.02 ps aux
root 1 0.0 0.0 272956 440 ?? Ss 4:31PM 0:00.99 /sbin/launchd
#

0 件のコメント: