`
hellosoft
  • 浏览: 54008 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

generate key in linux

阅读更多
#192.168.10.220: generate key: public key(like a door), private key(like a key)
ssh-keygen -t rsa
mv id_rsa /root/.ssh/sj221.key
scp id_rsa.pub 192.168.10.221:/root/.ssh/  # move public key to 221


#192.168.10.221: setup the door(public key) into 221
cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys # add public key(door) into authorized_keys
rm /root/.ssh/id_rsa.pub

#192.168.10.220: open the door
ssh -i /root/.ssh/sj221.key 192.168.10.221
分享到:
评论

相关推荐

    keyboard按键中断驱动

    Holding a key down will generate 'pressed' events more so, count of pressing need not be equal to release count. (This code works only for ps/2 keyboards, not usb which generates interrupt in ...

    Swift 3 Object Oriented Programming, 2nd Edition [PDF]

    You will organise data in blueprints that generate instances. You'll work with examples so you understand how to encapsulate and hide data by working with properties and access control. Then, you'll ...

    build-secure-gpg-key:构建安全的GPG密钥

    $ gpg --expert --full-generate-key 您可以选择创建一个RSA,ECC密钥,过程是相同的,为此Wiki,我创建一个ECC密钥: gpg (GnuPG) 2.2.19; Copyright (C) 2019 Free Software Foundation, Inc. This is free ...

    Swift 3 Object-Oriented Programming

    You will organise data in blueprints that generate instances. You'll work with examples so you understand how to encapsulate and hide data by working with properties and access control. Then, you'll ...

    Swift.3.Object.Oriented.Programming.2nd.epub

    Key Features Leverage the most efficient object-oriented design patterns in your Swift applications Write robust, safer, and better code using the blueprints that generate objects Build a platform ...

    OPC UA 客户端 服务器 标准库源码

    // under Settings->Shared access policies->iothubowner->Primary key of your IoTHub in the Azure portal. public static string EventHubConnectionString = "Endpoint={EventHubEndpoint};...

    FastReport.v4.15 for.Delphi.BCB.Full.Source企业版含ClientServer中文修正版支持D4-XE5

    FastReport® VCL is an add-on component that allows your application to generate reports quickly and efficiently. FastReport® provides all the tools necessary for developing reports, including a ...

    BobBuilder_app

    This format ensures a semi sorted key list, in that within a page the data is not sorted but pages are in sort order relative to each other. So a look-up for a key just compares the first keys in the ...

    sublime text 3066

    * Build Systems may now declare a "keyfile" (e.g., 'Makefile' for the Make build system) to better auto detect which build system to use * When opening a project with a build system, that build ...

    Bochs - The cross platform IA-32 (x86) emulator

    In addition to the default Bochs method using the CTRL key and the middle mouse button there are now the choices: - CTRL+F10 (like DOSBox) - CTRL+ALT (like QEMU) - F12 (replaces win32 'legacyF12'...

    esp-idf-v3.2.zip

    will compile app, bootloader and generate a partition table based on the config. Flashing the Project When the build finishes, it will print a command line to use esptool.py to flash the chip. ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    Inlining a function can generate more efficient object code, as long as the inlined function is small. Feel free to inline accessors and mutators, and other short, performance-critical functions. ...

    softap_ap6212a0_tinav2.1_验证通过_旧版本的系统_20170915_1223没有外层目录.7z

    HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty HOST_BUILD_TYPE=release BUILD_ID=57513AA3 OUT_DIR= ============================================ rootroot@cm-System-Product...

    hydra 7.2 win32

    Generate them yourself. For Linux users, a GTK gui is available, try "./xhydra" SPECIAL OPTIONS FOR MODULES --------------------------- Via the third command line parameter (TARGET SERVICE ...

    2009 达内Unix学习笔记

    集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...

    python3.6.5参考手册 chm

    PEP 412: Key-Sharing Dictionary PEP 362: Function Signature Object PEP 421: Adding sys.implementation SimpleNamespace Using importlib as the Implementation of Import New APIs Visible Changes ...

    r40_tinav2.1_最终验证通过_使用CB-S来验证OV5640有横条纹fpscamera+SPI2.0成功_20171114_1443没有外层目录.7z

    //take yuv image,it will save the target frame exif info in the same time //image name: xxxx (set by usered through command) //exif info name: xxxx.exif if(cap->cmd == SAVE_IMAGE ) { ret = 0;//...

    MySQL 5.6 Reference Manual

    Table of Contents Preface, Notes, Licenses . . . . . . . . ....1. Licenses for Third-Party Components ....1.1. FindGTest.cmake License ....1.2. LPeg Library License ....1.3. LuaFileSystem Library License ....

Global site tag (gtag.js) - Google Analytics