cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Doesnt appear ssh - keygen

Doesnt appear ssh - keygen

Josaphat_Aviles
Established Member

Hello,

My CtrlWorks version: 1.20.5

I followed the video (How to video. ) instructions to the letter, however when I try to find ssh- keygen,  I don't get files as in the video. Does anyone know why?

 

 

1 REPLY 1

nickH
Community Moderator
Community Moderator

Hi @Josaphat_Aviles 

unfortunately this video is a little outdated, but we are currently working on a newer version. This script was used to copy your own public ssh key to the App Build Environment. This is not needed for any function in the SDK, but it makes life easier for you, because you don't have to insert the user and password all the time. In case of Public key authentication you have a private key and a public key (text) file. The public key file is copied to the computer you want to connect to (in our case the App Build Environment), the private key is secret. SSH tools are using you private key during a SSH connection instead of user/password. Here you can learn more on: What is SSH Public Key Authentication?

So if you don't have the script to copy the public key to your App Build Environment you can simply do this by hand. For example like this (you could also use scp commands if you want to):

  1. Check if you got a id_rsa key pair on your windows host. If not, create one.
    Check if you got this key pair in C:/Users/user/.sshCheck if you got this key pair in C:/Users/user/.ssh

     

    If you don't got a key pair create one with "ssh-keygen -t rsa" (don't enter a passphrase)If you don't got a key pair create one with "ssh-keygen -t rsa" (don't enter a passphrase)

     

  2. Copy the public key
    copie out the whole id_rsa public keycopie out the whole id_rsa public key

     

  3. Paste it to the App Build Environment 
    Make a conection to your App Build Environment and paste the public key at /home/boschrexroth/.ssh/authorized_keysMake a conection to your App Build Environment and paste the public key at /home/boschrexroth/.ssh/authorized_keys

     

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist