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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4930 | 13년 전 | 657 | ||
| 4929 | 13년 전 | 2020 | ||
| 4928 | 13년 전 | 630 | ||
| 4927 |
|
13년 전 | 789 | |
| 4926 | 13년 전 | 1114 | ||
| 4925 |
techer
|
13년 전 | 1274 | |
| 4924 |
techer
|
13년 전 | 2884 | |
| 4923 |
techer
|
13년 전 | 3106 | |
| 4922 | 13년 전 | 601 | ||
| 4921 | 13년 전 | 1102 | ||
| 4920 |
StyleRoot
|
13년 전 | 581 | |
| 4919 | 13년 전 | 1160 | ||
| 4918 |
onlymilk74
|
13년 전 | 942 | |
| 4917 |
하나데이타
|
13년 전 | 830 | |
| 4916 |
하나데이타
|
13년 전 | 1154 | |
| 4915 | 13년 전 | 424 | ||
| 4914 | 13년 전 | 1824 | ||
| 4913 | 13년 전 | 1561 | ||
| 4912 | 13년 전 | 1298 | ||
| 4911 | 13년 전 | 738 | ||
| 4910 | 13년 전 | 1216 | ||
| 4909 |
성민꼬르꼬
|
13년 전 | 1442 | |
| 4908 | 13년 전 | 1042 | ||
| 4907 | 13년 전 | 2227 | ||
| 4906 | 13년 전 | 880 | ||
| 4905 |
kinyenug1
|
13년 전 | 603 | |
| 4904 |
kinyenug1
|
13년 전 | 783 | |
| 4903 | 13년 전 | 3583 | ||
| 4902 | 13년 전 | 2457 | ||
| 4901 | 13년 전 | 1021 | ||
| 4900 | 13년 전 | 1187 | ||
| 4899 | 13년 전 | 2587 | ||
| 4898 | 13년 전 | 1585 | ||
| 4897 |
다케미카코
|
13년 전 | 750 | |
| 4896 |
안뇽하어영
|
13년 전 | 809 | |
| 4895 |
baek83
|
13년 전 | 2208 | |
| 4894 | 13년 전 | 693 | ||
| 4893 | 13년 전 | 944 | ||
| 4892 | 13년 전 | 441 | ||
| 4891 | 13년 전 | 595 | ||
| 4890 | 13년 전 | 1336 | ||
| 4889 |
Black
|
13년 전 | 2879 | |
| 4888 |
techer
|
13년 전 | 639 | |
| 4887 |
techer
|
13년 전 | 900 | |
| 4886 |
visualp
|
13년 전 | 1295 | |
| 4885 | 13년 전 | 697 | ||
| 4884 |
너는나의봄이다
|
13년 전 | 2318 | |
| 4883 | 13년 전 | 920 | ||
| 4882 | 13년 전 | 1595 | ||
| 4881 | 13년 전 | 1841 | ||
| 4880 | 13년 전 | 1650 | ||
| 4879 | 13년 전 | 963 | ||
| 4878 |
|
13년 전 | 1259 | |
| 4877 | 13년 전 | 766 | ||
| 4876 |
꿈을꾸는너구리
|
13년 전 | 632 | |
| 4875 |
성민꼬르꼬
|
13년 전 | 1290 | |
| 4874 | 13년 전 | 979 | ||
| 4873 | 13년 전 | 829 | ||
| 4872 | 13년 전 | 745 | ||
| 4871 | 13년 전 | 912 | ||
| 4870 | 13년 전 | 704 | ||
| 4869 | 13년 전 | 1222 | ||
| 4868 | 13년 전 | 928 | ||
| 4867 | 13년 전 | 624 | ||
| 4866 | 13년 전 | 1234 | ||
| 4865 | 13년 전 | 869 | ||
| 4864 |
기획자정군
|
13년 전 | 1603 | |
| 4863 |
꼬꼬아부지
|
13년 전 | 1028 | |
| 4862 | 13년 전 | 3503 | ||
| 4861 |
|
13년 전 | 1561 | |
| 4860 |
|
13년 전 | 2162 | |
| 4859 | 13년 전 | 788 | ||
| 4858 | 13년 전 | 438 | ||
| 4857 | 13년 전 | 1115 | ||
| 4856 |
크라운엠버서더
|
13년 전 | 1910 | |
| 4855 | 13년 전 | 813 | ||
| 4854 | 13년 전 | 2036 | ||
| 4853 | 13년 전 | 737 | ||
| 4852 | 13년 전 | 1090 | ||
| 4851 |
꼬꼬아부지
|
13년 전 | 1794 | |
| 4850 | 13년 전 | 1113 | ||
| 4849 |
|
13년 전 | 772 | |
| 4848 | 13년 전 | 1473 | ||
| 4847 |
|
13년 전 | 3788 | |
| 4846 | 13년 전 | 513 | ||
| 4845 | 13년 전 | 577 | ||
| 4844 | 13년 전 | 765 | ||
| 4843 | 13년 전 | 3910 | ||
| 4842 | 13년 전 | 1250 | ||
| 4841 | 13년 전 | 1420 | ||
| 4840 | 13년 전 | 1434 | ||
| 4839 | 13년 전 | 734 | ||
| 4838 | 13년 전 | 613 | ||
| 4837 | 13년 전 | 761 | ||
| 4836 |
TIAMO
|
13년 전 | 1576 | |
| 4835 | 13년 전 | 939 | ||
| 4834 | 13년 전 | 1277 | ||
| 4833 | 13년 전 | 2475 | ||
| 4832 |
|
13년 전 | 940 | |
| 4831 | 13년 전 | 1250 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기