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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4730 |
제너레이션
|
13년 전 | 1002 | |
| 4729 | 13년 전 | 943 | ||
| 4728 | 13년 전 | 701 | ||
| 4727 | 13년 전 | 1245 | ||
| 4726 | 13년 전 | 849 | ||
| 4725 | 13년 전 | 1681 | ||
| 4724 | 13년 전 | 1020 | ||
| 4723 | 13년 전 | 2689 | ||
| 4722 | 13년 전 | 560 | ||
| 4721 |
ECEditor
|
13년 전 | 2233 | |
| 4720 | 13년 전 | 2615 | ||
| 4719 | 13년 전 | 4383 | ||
| 4718 | 13년 전 | 960 | ||
| 4717 | 13년 전 | 1174 | ||
| 4716 | 13년 전 | 1351 | ||
| 4715 |
한번잘해보자
|
13년 전 | 1168 | |
| 4714 | 13년 전 | 1177 | ||
| 4713 | 13년 전 | 2827 | ||
| 4712 | 13년 전 | 1250 | ||
| 4711 |
김준수사랑
|
13년 전 | 1013 | |
| 4710 |
한번잘해보자
|
13년 전 | 1146 | |
| 4709 | 13년 전 | 1142 | ||
| 4708 | 13년 전 | 817 | ||
| 4707 | 13년 전 | 1701 | ||
| 4706 |
프로프리랜서
|
13년 전 | 2088 | |
| 4705 |
프로프리랜서
|
13년 전 | 1379 | |
| 4704 | 13년 전 | 968 | ||
| 4703 |
프로프리랜서
|
13년 전 | 935 | |
| 4702 | 13년 전 | 832 | ||
| 4701 | 13년 전 | 1568 | ||
| 4700 | 13년 전 | 2596 | ||
| 4699 | 13년 전 | 1309 | ||
| 4698 |
|
13년 전 | 1599 | |
| 4697 |
|
13년 전 | 1118 | |
| 4696 |
|
13년 전 | 1135 | |
| 4695 |
|
13년 전 | 1345 | |
| 4694 |
|
13년 전 | 864 | |
| 4693 |
|
13년 전 | 855 | |
| 4692 |
|
13년 전 | 858 | |
| 4691 |
|
13년 전 | 1186 | |
| 4690 |
|
13년 전 | 1271 | |
| 4689 |
|
13년 전 | 1018 | |
| 4688 |
|
13년 전 | 779 | |
| 4687 |
|
13년 전 | 1055 | |
| 4686 |
|
13년 전 | 1009 | |
| 4685 |
|
13년 전 | 940 | |
| 4684 |
|
13년 전 | 1041 | |
| 4683 |
|
13년 전 | 932 | |
| 4682 |
|
13년 전 | 1243 | |
| 4681 |
|
13년 전 | 1019 | |
| 4680 |
|
13년 전 | 1139 | |
| 4679 |
|
13년 전 | 1653 | |
| 4678 |
|
13년 전 | 580 | |
| 4677 | 13년 전 | 2913 | ||
| 4676 |
복이219
|
13년 전 | 616 | |
| 4675 | 13년 전 | 816 | ||
| 4674 | 13년 전 | 614 | ||
| 4673 | 13년 전 | 989 | ||
| 4672 | 13년 전 | 934 | ||
| 4671 | 13년 전 | 1198 | ||
| 4670 | 13년 전 | 718 | ||
| 4669 | 13년 전 | 1778 | ||
| 4668 | 13년 전 | 1420 | ||
| 4667 |
너는나의봄이다
|
13년 전 | 1020 | |
| 4666 | 13년 전 | 6695 | ||
| 4665 | 13년 전 | 621 | ||
| 4664 | 13년 전 | 999 | ||
| 4663 | 13년 전 | 843 | ||
| 4662 | 13년 전 | 972 | ||
| 4661 | 13년 전 | 1243 | ||
| 4660 | 13년 전 | 841 | ||
| 4659 | 13년 전 | 1102 | ||
| 4658 |
소나무닷컴
|
13년 전 | 686 | |
| 4657 | 13년 전 | 707 | ||
| 4656 |
|
13년 전 | 1241 | |
| 4655 | 13년 전 | 3099 | ||
| 4654 | 13년 전 | 673 | ||
| 4653 | 13년 전 | 2097 | ||
| 4652 | 13년 전 | 873 | ||
| 4651 | 13년 전 | 775 | ||
| 4650 | 13년 전 | 1664 | ||
| 4649 | 13년 전 | 1600 | ||
| 4648 | 13년 전 | 609 | ||
| 4647 | 13년 전 | 1506 | ||
| 4646 | 13년 전 | 1935 | ||
| 4645 | 13년 전 | 1334 | ||
| 4644 | 13년 전 | 610 | ||
| 4643 | 13년 전 | 2023 | ||
| 4642 | 13년 전 | 814 | ||
| 4641 |
|
13년 전 | 605 | |
| 4640 | 13년 전 | 566 | ||
| 4639 |
|
13년 전 | 1294 | |
| 4638 |
|
13년 전 | 1665 | |
| 4637 |
|
13년 전 | 1135 | |
| 4636 | 13년 전 | 625 | ||
| 4635 | 13년 전 | 758 | ||
| 4634 | 13년 전 | 1262 | ||
| 4633 | 13년 전 | 1245 | ||
| 4632 |
|
13년 전 | 539 | |
| 4631 | 13년 전 | 3341 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기