lecture
in color
/bin/su: switch-user command.
/bin/login: login program type Username and Password.
/usr/sbin/in.ftpd: ftp daemon.
with special versions that understand one-time passwords.
/bin/login
s = F(F(F(F(...100 times...(F(F(p))...))))=F^100(p)F is difficult to reverse.
F^99(p) won't get you p,
or even F^98(p). F^99(p), you can check
whether F^98(p) is authentic!F^98(p) and the next time,
check it against F^97(p).
dd363c5a2b90bb985d4dbeffd7c1b21f. opiepasswd - start up opie
# ./opiepasswd -c couch Adding couch: Only use this method from the console; NEVER from remote. If you are using telnet, xterm, or a dial-in, type ^C now or exit with no password. Then run opiepasswd without the -c parameter. Using MD5 to compute responses. Enter new secret pass phrase: Again new secret pass phrase: ID couch OTP key is 499 bl2366 SOB TURN FORM GORE NOT CUFF
opiesu - switch user ID
blackhole{couch}64: opiesu couch
otp-md5 498 bl2366
couch's response: YARN ORB TEET MAE TOM GAIT
opiekey - compute a passphrase to be used in opiesu, opielogin.
blackhole{couch}72: otp-md5 498 bl2366
Using the MD5 algorithm to compute response.
Reminder: Don't use opiekey from telnet or dial-in sessions.
Enter secret pass phrase:
YARN ORB TEET MAE TOM GAIT
opiepasswd on the target host.
/etc/hosts.equiv on the other machine, then you can rsh or rlogin to that machine without password.root can initiate a request for this
service, so users can't spoof it.
source doc from you
|
| encrypt with sender's private key (only sender knows)
v
encrypted once to prove authenticity
|
| encrypt with recipient's public key (published everywhere)
v
encrypted twice to protect content
...
...send on internet
...
encrypted twice to protect content
|
| decrypt with recipient's private key (only recipient knows)
v
encrypted once to prove authenticity
|
| decrypt with sender's public key (published everywhere)
v
source doc to recipient
starting up an ssl/ssh session (sketch)
client server
accept server public key (clear) <-- send public key to client
generate 48-bit client session
public/private key pair
encrypt client public session key
with server public key
send encrypted public session key --> decrypt client public session key
with server private key
generate 48-bit server session
public/private key pair
encrypt public server session key
with client public session key
decrypt server session key <-- send public server session key
with client private session key
client: server: private client session key private server session key public server session key public client session key
lecture
in color