Vagrant : Creating Machine : Jenkins | Ansible | host1

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 

Connecting to Vagrant Machine .

Command  : ssh vagrant@127.0.0.1 -p 2200

Vagrant ssh-config  -- Copy the content to the .ssh/ config -- c:\Users\Sreejith_b\.ssh\config

Host jenkins
    HostName 127.0.0.1
    User vagrant
    Port 2222
    UserKnownHostsFile /dev/null
    StrictHostKeyChecking no
    PasswordAuthentication no
    IdentityFile C:/Vagrant/.vagrant/machines/jenkins/virtualbox/private_key
    IdentitiesOnly yes
    LogLevel FATAL
 
Host ansible
    HostName 127.0.0.1
    User vagrant
    Port 2200
    UserKnownHostsFile /dev/null
    StrictHostKeyChecking no
    PasswordAuthentication no
    IdentityFile C:/Vagrant/.vagrant/machines/ansible/virtualbox/private_key
    IdentitiesOnly yes
    LogLevel FATAL
 
Host host1
    HostName 127.0.0.1
    User vagrant
    Port 2201
    UserKnownHostsFile /dev/null
    StrictHostKeyChecking no
    PasswordAuthentication no
    IdentityFile C:/Vagrant/.vagrant/machines/host1/virtualbox/private_key
    IdentitiesOnly yes
    LogLevel FATAL

Installing Jenkins on Amazon Linux 2

https://techviewleo.com/install-jenkins-server-on-amazon-linux/





Comments

Popular posts from this blog

Jenkins file | declarative pipeline scripting

Jenkins : Webhooks

JENKINS -- My Work -Project - DNS