dsa / rsa 키 생성
클라이언트 데스크탑
root@byoungguk-desktop:~# ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/root/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_dsa.
Your public key has been saved in /root/.ssh/id_dsa.pub.
The key fingerprint is:
x:x:x:.... root@byoungguk-desktop
The key's randomart image is:
+--[ DSA 1024]----+
| |
| . |
| . + |
| . o o |
....
+-----------------+
root@byoungguk-desktop:~# cd /root/.ssh/
root@byoungguk-desktop:~/.ssh# ls -al
합계 20
drwx------ 2 root root 4096 2011-09-16 14:25 .
drwx------ 25 root root 4096 2011-09-15 11:28 ..
-rw------- 1 root root 672 2011-09-16 14:25 id_dsa
-rw-r--r-- 1 root root 612 2011-09-16 14:25 id_dsa.pub
-rw-r--r-- 1 root root 270 2010-07-23 12:28 known_hosts
파일중 id_dsa.pub 내용을 복사
접속하고자 하는 서버 계정에서 .ssh 디렉토리의 authorized_keys 파일에 추가함. 없으면 파일 만들고.
.ssh 디렉토리, authorized_keys 는 계정의 소유권으로 읽기,쓰기가능해야 한다.(0600)
접속 테스트
ssh xxx@ip
원격에서 명령 실행.
ssh xxx@ip df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda2 9920624 7767680 1640876 83% /
/dev/xvda1 101086 26739 69128 28% /boot
/dev/xvda4 18034160 8734112 8383944 52% /home
tmpfs 262232 0 262232 0% /dev/shm
/dev/xvdc1 20635700 2980460 16607004 16% /data3
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5130 | 13년 전 | 761 | ||
| 5129 | 13년 전 | 1765 | ||
| 5128 | 13년 전 | 932 | ||
| 5127 | 13년 전 | 514 | ||
| 5126 | 13년 전 | 763 | ||
| 5125 | 13년 전 | 1371 | ||
| 5124 | 13년 전 | 842 | ||
| 5123 | 13년 전 | 477 | ||
| 5122 | 13년 전 | 1000 | ||
| 5121 |
|
13년 전 | 1383 | |
| 5120 | 13년 전 | 507 | ||
| 5119 | 13년 전 | 484 | ||
| 5118 | 13년 전 | 412 | ||
| 5117 | 13년 전 | 726 | ||
| 5116 | 13년 전 | 469 | ||
| 5115 | 13년 전 | 918 | ||
| 5114 | 13년 전 | 940 | ||
| 5113 |
cookieyou
|
13년 전 | 1355 | |
| 5112 | 13년 전 | 538 | ||
| 5111 | 13년 전 | 829 | ||
| 5110 | 13년 전 | 4441 | ||
| 5109 | 13년 전 | 1062 | ||
| 5108 | 13년 전 | 421 | ||
| 5107 | 13년 전 | 495 | ||
| 5106 | 13년 전 | 642 | ||
| 5105 | 13년 전 | 1107 | ||
| 5104 | 13년 전 | 415 | ||
| 5103 |
프로프리랜서
|
13년 전 | 1350 | |
| 5102 | 13년 전 | 1591 | ||
| 5101 | 13년 전 | 465 | ||
| 5100 | 13년 전 | 376 | ||
| 5099 | 13년 전 | 524 | ||
| 5098 | 13년 전 | 2138 | ||
| 5097 | 13년 전 | 384 | ||
| 5096 | 13년 전 | 536 | ||
| 5095 | 13년 전 | 388 | ||
| 5094 | 13년 전 | 398 | ||
| 5093 | 13년 전 | 882 | ||
| 5092 | 13년 전 | 1068 | ||
| 5091 | 13년 전 | 427 | ||
| 5090 | 13년 전 | 519 | ||
| 5089 | 13년 전 | 964 | ||
| 5088 | 13년 전 | 420 | ||
| 5087 | 13년 전 | 1176 | ||
| 5086 | 13년 전 | 1509 | ||
| 5085 |
|
13년 전 | 3944 | |
| 5084 |
alexseo
|
13년 전 | 925 | |
| 5083 | 13년 전 | 1131 | ||
| 5082 | 13년 전 | 608 | ||
| 5081 | 13년 전 | 530 | ||
| 5080 | 13년 전 | 612 | ||
| 5079 | 13년 전 | 991 | ||
| 5078 | 13년 전 | 2210 | ||
| 5077 | 13년 전 | 684 | ||
| 5076 |
몰보는거야
|
13년 전 | 1696 | |
| 5075 |
|
13년 전 | 1775 | |
| 5074 | 13년 전 | 2023 | ||
| 5073 |
|
13년 전 | 776 | |
| 5072 |
프로프리랜서
|
13년 전 | 1045 | |
| 5071 |
프로프리랜서
|
13년 전 | 767 | |
| 5070 |
프로프리랜서
|
13년 전 | 878 | |
| 5069 |
뭐먹고살지ㅠ
|
13년 전 | 794 | |
| 5068 |
danielle
|
13년 전 | 655 | |
| 5067 | 13년 전 | 766 | ||
| 5066 | 13년 전 | 837 | ||
| 5065 | 13년 전 | 909 | ||
| 5064 | 13년 전 | 1723 | ||
| 5063 | 13년 전 | 443 | ||
| 5062 | 13년 전 | 833 | ||
| 5061 | 13년 전 | 586 | ||
| 5060 | 13년 전 | 395 | ||
| 5059 |
senseme
|
13년 전 | 869 | |
| 5058 | 13년 전 | 2883 | ||
| 5057 | 13년 전 | 1942 | ||
| 5056 | 13년 전 | 1499 | ||
| 5055 | 13년 전 | 456 | ||
| 5054 |
senseme
|
13년 전 | 1072 | |
| 5053 |
senseme
|
13년 전 | 1912 | |
| 5052 |
senseme
|
13년 전 | 1039 | |
| 5051 |
senseme
|
13년 전 | 1061 | |
| 5050 |
senseme
|
13년 전 | 807 | |
| 5049 |
senseme
|
13년 전 | 992 | |
| 5048 | 13년 전 | 1995 | ||
| 5047 | 13년 전 | 498 | ||
| 5046 |
우렁찬우렁이
|
13년 전 | 890 | |
| 5045 |
크라이스트
|
13년 전 | 2162 | |
| 5044 | 13년 전 | 974 | ||
| 5043 | 13년 전 | 537 | ||
| 5042 | 13년 전 | 983 | ||
| 5041 |
|
13년 전 | 815 | |
| 5040 |
스마일라니
|
13년 전 | 881 | |
| 5039 | 13년 전 | 1154 | ||
| 5038 | 13년 전 | 1931 | ||
| 5037 | 13년 전 | 1050 | ||
| 5036 |
cookieyou
|
13년 전 | 1406 | |
| 5035 | 13년 전 | 502 | ||
| 5034 | 13년 전 | 566 | ||
| 5033 | 13년 전 | 490 | ||
| 5032 | 13년 전 | 439 | ||
| 5031 | 13년 전 | 733 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기