SlideShare a Scribd company logo
Git bash
Welcome to Git (version 1.9.5-preview20150319)
Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
anchal.chadha@BSSDT018 ~
$ pwd
/c/Users/anchal.chadha
anchal.chadha@BSSDT018 ~
$ mkdir .ssh
anchal.chadha@BSSDT018 ~
$ cd .ssh
anchal.chadha@BSSDT018 ~/.ssh
$ ssh-keygen -trsa -C"anchalchadha01@gmail.com"
Generating public/private rsa key pair.
Enter file in which to savethe key (/c/Users/anchal.chadha/.ssh/id_rsa):
Enter passphrase(empty for no passphrase):
Enter same passphraseagain:
Your identification has been saved in /c/Users/anchal.chadha/.ssh/id_rsa.
Your public key has been saved in /c/Users/anchal.chadha/.ssh/id_rsa.pub.
The key fingerprintis:
d3:5b:5b:1f:f7:cc:c4:8c:dc:e1:7b:e0:f6:0c:4d:15 anchalchadha01@gmail.com
The key's randomartimage is:
+--[ RSA 2048]----+
| E |
| .|
| ..|
| . ..=o|
| S . . =oB|
| . o + O=|
| . . +.B|
| . +.|
| o|
+-----------------+
anchal.chadha@BSSDT018 ~/.ssh
$ ssh -v git@github.com
OpenSSH_6.6.1, OpenSSL 1.0.1m19 Mar 2015
debug1: Connecting to github.com[192.30.252.131] port22.
debug1: Connection established.
debug1: identity file /c/Users/anchal.chadha/.ssh/id_rsa type1
debug1: identity file /c/Users/anchal.chadha/.ssh/id_rsa-certtype-1
debug1: identity file /c/Users/anchal.chadha/.ssh/id_dsa type -1
debug1: identity file /c/Users/anchal.chadha/.ssh/id_dsa-certtype-1
debug1: identity file /c/Users/anchal.chadha/.ssh/id_ecdsa type -1
debug1: identity file /c/Users/anchal.chadha/.ssh/id_ecdsa-certtype-1
debug1: identity file /c/Users/anchal.chadha/.ssh/id_ed25519 type -1
debug1: identity file /c/Users/anchal.chadha/.ssh/id_ed25519-certtype-1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1
debug1: Remote protocol version 2.0, remotesoftwareversion libssh-0.6.0
debug1: no match: libssh-0.6.0
debug1: SSH2_MSG_KEXINITsent
debug1: SSH2_MSG_KEXINITreceived
debug1: kex: server->client aes128-ctr hmac-sha1none
debug1: kex: client->server aes128-ctr hmac-sha1none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server hostkey: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
The authenticity of host'github.com (192.30.252.131)'can'tbe established.
RSA key fingerprintis 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sureyou wantto continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.131'(RSA) to the list of
know
n hosts.
debug1: ssh_rsa_verify: signaturecorrect
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUESTsent
debug1: SSH2_MSG_SERVICE_ACCEPTreceived
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /c/Users/anchal.chadha/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /c/Users/anchal.chadha/.ssh/id_dsa
debug1: Trying private key: /c/Users/anchal.chadha/.ssh/id_ecdsa
debug1: Trying private key: /c/Users/anchal.chadha/.ssh/id_ed25519
debug1: No more authentication methods to try.
Permission denied (publickey).
anchal.chadha@BSSDT018 ~/.ssh
$ cd ..
anchal.chadha@BSSDT018 ~
$ cd ..
anchal.chadha@BSSDT018 /c/Users
$ cd..
sh.exe": cd..: command not found
anchal.chadha@BSSDT018 /c/Users
$ cd ..
anchal.chadha@BSSDT018 /c
$ cd C:anchalSanyamex2
anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2
$ pwd
/c/anchal/Sanyam/ex2
anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2
$ git init
Initialized empty Git repository in c:/anchal/Sanyam/ex2/.git/
anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master)
$ Git add .
anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master)
$ git commit -m"firstcommit"
[master (root-commit) fdfb91e] firstcommit
Committer: unknown <anchal.chadha@BSSDT018.betasoftsystems.com>
Your name and email address wereconfigured automatically based
on your usernameand hostname. Please check that they are accurate.
You can suppress this messageby setting them explicitly:
git config --global user.name"Your Name"
git config --global user.emailyou@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
5 files changed, 51 insertions(+)
create mode 100644 .classpath
create mode 100644 .project
create mode 100644 .settings/org.eclipse.jdt.core.prefs
create mode 100644 bin/ex2/testfile.class
create mode 100644 src/ex2/testfile.java
anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master)
$ git remote add origin https://github.com/AnchalChadha/NewRep.git
anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master)
$ git push -u origin master
Usernamefor 'https://github.com':
Password for 'https://github.com':
remote: Anonymous access to AnchalChadha/NewRep.git denied.
fatal: Authentication failed for
'https://github.com/AnchalChadha/NewRep.git/'
anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master)
$
anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master)
$
anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master)
$
anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master)
$ git push -u origin master
Usernamefor 'https://github.com': anchalchadha
Password for 'https://anchalchadha@github.com':
Counting objects: 12, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (8/8),done.
Writing objects: 100% (12/12), 1.95KiB| 0 bytes/s, done.
Total 12 (delta 0), reused 0 (delta 0)
To https://github.com/AnchalChadha/NewRep.git
* [new branch] master -> master
Branch master set up to track remote branch master fromorigin.
anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master)
$
Git bashGit bucket
Git bashGit bucket
Git bashGit bucket
Git bashGit bucket
Git bashGit bucket
Cmd
Git bashGit bucket

More Related Content

PDF
Linux system admin
PDF
Getting started with the Terminal
PDF
Hack the box open admin writeup
PDF
Tomáš Čorej - OpenSSH
PDF
RG講義_SSH
PDF
ssh_tricks
PDF
R57php 1231677414471772-2
PDF
Software Dendrology by Brandon Bloom
Linux system admin
Getting started with the Terminal
Hack the box open admin writeup
Tomáš Čorej - OpenSSH
RG講義_SSH
ssh_tricks
R57php 1231677414471772-2
Software Dendrology by Brandon Bloom

What's hot (13)

PDF
Workshop on command line tools - day 1
PDF
Workshop on command line tools - day 2
PDF
00-Review of Linux Basics
PDF
Dicas de SSH
PDF
Using the Command Line with Magento
PDF
PHP Backdoor: The rise of the vuln
PDF
Code obfuscation, php shells & more
PDF
How to add user in system without useradd command
DOCX
lec2.docx
PPTX
Creating a keystroke logger in unix shell scripting
PPTX
Git 201 - A Deeper Look at Git @ KCDC 2016
PDF
Php web backdoor obfuscation
Workshop on command line tools - day 1
Workshop on command line tools - day 2
00-Review of Linux Basics
Dicas de SSH
Using the Command Line with Magento
PHP Backdoor: The rise of the vuln
Code obfuscation, php shells & more
How to add user in system without useradd command
lec2.docx
Creating a keystroke logger in unix shell scripting
Git 201 - A Deeper Look at Git @ KCDC 2016
Php web backdoor obfuscation
Ad

Similar to Git bashGit bucket (20)

PDF
An introduction to SSH
PDF
tutorial-ssh.pdf
PDF
OpenSSH tricks
KEY
Intro to SSH
PPT
Introduction to SSH
PDF
Linux advanced privilege escalation
PPTX
Install git and drush on Godaddy shared hosting
PDF
SSH how to 2011
PDF
Postgresql 12 streaming replication hol
PDF
SSH.pdf
PDF
Tatu: ssh as a service
PDF
Debugging Network Issues
PDF
SSH: Seguranca no Acesso Remoto
PDF
How To Setup SSH Keys on CentOS 7
PDF
Service intergration
TXT
Linuxserver harden
PDF
Git Workshop : Git On The Server
PPTX
Linux Fundamentals - An Intro to Linux Fundamentals
PDF
Copying files between linux machines using scp and ssh without linux user pas...
PDF
File encryption. [32] Write a program which accepts a filename as a .pdf
An introduction to SSH
tutorial-ssh.pdf
OpenSSH tricks
Intro to SSH
Introduction to SSH
Linux advanced privilege escalation
Install git and drush on Godaddy shared hosting
SSH how to 2011
Postgresql 12 streaming replication hol
SSH.pdf
Tatu: ssh as a service
Debugging Network Issues
SSH: Seguranca no Acesso Remoto
How To Setup SSH Keys on CentOS 7
Service intergration
Linuxserver harden
Git Workshop : Git On The Server
Linux Fundamentals - An Intro to Linux Fundamentals
Copying files between linux machines using scp and ssh without linux user pas...
File encryption. [32] Write a program which accepts a filename as a .pdf
Ad

More from Sanyam Arora (7)

PDF
Resume_3[1]
TXT
DOCX
Git bucketGit bash
DOCX
Git bucketGit bash
DOCX
Git bash
DOCX
ffdfdfdfGit bash
DOCX
Git bash
Resume_3[1]
Git bucketGit bash
Git bucketGit bash
Git bash
ffdfdfdfGit bash
Git bash

Recently uploaded (20)

PDF
Module 2 - Modern Supervison Challenges - Student Resource.pdf
PDF
Tata consultancy services case study shri Sharda college, basrur
PDF
THE COMPLETE GUIDE TO BUILDING PASSIVE INCOME ONLINE
PPTX
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
PPTX
2025 Product Deck V1.0.pptxCATALOGTCLCIA
PDF
Module 3 - Functions of the Supervisor - Part 1 - Student Resource (1).pdf
PPTX
operations management : demand supply ch
PDF
How to Get Business Funding for Small Business Fast
PPT
Lecture 3344;;,,(,(((((((((((((((((((((((
PDF
How to Get Approval for Business Funding
PPTX
Negotiation and Persuasion Skills: A Shrewd Person's Perspective
PDF
Technical Architecture - Chainsys dataZap
PDF
Comments on Crystal Cloud and Energy Star.pdf
PDF
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
PDF
ANALYZING THE OPPORTUNITIES OF DIGITAL MARKETING IN BANGLADESH TO PROVIDE AN ...
PDF
Daniels 2024 Inclusive, Sustainable Development
PPTX
Astra-Investor- business Presentation (1).pptx
PDF
Booking.com The Global AI Sentiment Report 2025
PDF
1911 Gold Corporate Presentation Aug 2025.pdf
PDF
Digital Marketing & E-commerce Certificate Glossary.pdf.................
Module 2 - Modern Supervison Challenges - Student Resource.pdf
Tata consultancy services case study shri Sharda college, basrur
THE COMPLETE GUIDE TO BUILDING PASSIVE INCOME ONLINE
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
2025 Product Deck V1.0.pptxCATALOGTCLCIA
Module 3 - Functions of the Supervisor - Part 1 - Student Resource (1).pdf
operations management : demand supply ch
How to Get Business Funding for Small Business Fast
Lecture 3344;;,,(,(((((((((((((((((((((((
How to Get Approval for Business Funding
Negotiation and Persuasion Skills: A Shrewd Person's Perspective
Technical Architecture - Chainsys dataZap
Comments on Crystal Cloud and Energy Star.pdf
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
ANALYZING THE OPPORTUNITIES OF DIGITAL MARKETING IN BANGLADESH TO PROVIDE AN ...
Daniels 2024 Inclusive, Sustainable Development
Astra-Investor- business Presentation (1).pptx
Booking.com The Global AI Sentiment Report 2025
1911 Gold Corporate Presentation Aug 2025.pdf
Digital Marketing & E-commerce Certificate Glossary.pdf.................

Git bashGit bucket

  • 1. Git bash Welcome to Git (version 1.9.5-preview20150319) Run 'git help git' to display the help index. Run 'git help <command>' to display help for specific commands. anchal.chadha@BSSDT018 ~ $ pwd /c/Users/anchal.chadha anchal.chadha@BSSDT018 ~ $ mkdir .ssh anchal.chadha@BSSDT018 ~ $ cd .ssh anchal.chadha@BSSDT018 ~/.ssh $ ssh-keygen -trsa -C"anchalchadha01@gmail.com" Generating public/private rsa key pair. Enter file in which to savethe key (/c/Users/anchal.chadha/.ssh/id_rsa): Enter passphrase(empty for no passphrase): Enter same passphraseagain: Your identification has been saved in /c/Users/anchal.chadha/.ssh/id_rsa. Your public key has been saved in /c/Users/anchal.chadha/.ssh/id_rsa.pub. The key fingerprintis:
  • 2. d3:5b:5b:1f:f7:cc:c4:8c:dc:e1:7b:e0:f6:0c:4d:15 anchalchadha01@gmail.com The key's randomartimage is: +--[ RSA 2048]----+ | E | | .| | ..| | . ..=o| | S . . =oB| | . o + O=| | . . +.B| | . +.| | o| +-----------------+ anchal.chadha@BSSDT018 ~/.ssh $ ssh -v git@github.com OpenSSH_6.6.1, OpenSSL 1.0.1m19 Mar 2015 debug1: Connecting to github.com[192.30.252.131] port22. debug1: Connection established. debug1: identity file /c/Users/anchal.chadha/.ssh/id_rsa type1 debug1: identity file /c/Users/anchal.chadha/.ssh/id_rsa-certtype-1 debug1: identity file /c/Users/anchal.chadha/.ssh/id_dsa type -1 debug1: identity file /c/Users/anchal.chadha/.ssh/id_dsa-certtype-1 debug1: identity file /c/Users/anchal.chadha/.ssh/id_ecdsa type -1 debug1: identity file /c/Users/anchal.chadha/.ssh/id_ecdsa-certtype-1 debug1: identity file /c/Users/anchal.chadha/.ssh/id_ed25519 type -1
  • 3. debug1: identity file /c/Users/anchal.chadha/.ssh/id_ed25519-certtype-1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.6.1 debug1: Remote protocol version 2.0, remotesoftwareversion libssh-0.6.0 debug1: no match: libssh-0.6.0 debug1: SSH2_MSG_KEXINITsent debug1: SSH2_MSG_KEXINITreceived debug1: kex: server->client aes128-ctr hmac-sha1none debug1: kex: client->server aes128-ctr hmac-sha1none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server hostkey: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 The authenticity of host'github.com (192.30.252.131)'can'tbe established. RSA key fingerprintis 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sureyou wantto continue connecting (yes/no)? yes Warning: Permanently added 'github.com,192.30.252.131'(RSA) to the list of know n hosts. debug1: ssh_rsa_verify: signaturecorrect debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUESTsent debug1: SSH2_MSG_SERVICE_ACCEPTreceived debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey
  • 4. debug1: Offering RSA public key: /c/Users/anchal.chadha/.ssh/id_rsa debug1: Authentications that can continue: publickey debug1: Trying private key: /c/Users/anchal.chadha/.ssh/id_dsa debug1: Trying private key: /c/Users/anchal.chadha/.ssh/id_ecdsa debug1: Trying private key: /c/Users/anchal.chadha/.ssh/id_ed25519 debug1: No more authentication methods to try. Permission denied (publickey). anchal.chadha@BSSDT018 ~/.ssh $ cd .. anchal.chadha@BSSDT018 ~ $ cd .. anchal.chadha@BSSDT018 /c/Users $ cd.. sh.exe": cd..: command not found anchal.chadha@BSSDT018 /c/Users $ cd .. anchal.chadha@BSSDT018 /c $ cd C:anchalSanyamex2 anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 $ pwd
  • 5. /c/anchal/Sanyam/ex2 anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 $ git init Initialized empty Git repository in c:/anchal/Sanyam/ex2/.git/ anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master) $ Git add . anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master) $ git commit -m"firstcommit" [master (root-commit) fdfb91e] firstcommit Committer: unknown <anchal.chadha@BSSDT018.betasoftsystems.com> Your name and email address wereconfigured automatically based on your usernameand hostname. Please check that they are accurate. You can suppress this messageby setting them explicitly: git config --global user.name"Your Name" git config --global user.emailyou@example.com After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author 5 files changed, 51 insertions(+) create mode 100644 .classpath
  • 6. create mode 100644 .project create mode 100644 .settings/org.eclipse.jdt.core.prefs create mode 100644 bin/ex2/testfile.class create mode 100644 src/ex2/testfile.java anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master) $ git remote add origin https://github.com/AnchalChadha/NewRep.git anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master) $ git push -u origin master Usernamefor 'https://github.com': Password for 'https://github.com': remote: Anonymous access to AnchalChadha/NewRep.git denied. fatal: Authentication failed for 'https://github.com/AnchalChadha/NewRep.git/' anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master) $ anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master) $ anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master) $ anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master) $ git push -u origin master
  • 7. Usernamefor 'https://github.com': anchalchadha Password for 'https://anchalchadha@github.com': Counting objects: 12, done. Delta compression using up to 2 threads. Compressing objects: 100% (8/8),done. Writing objects: 100% (12/12), 1.95KiB| 0 bytes/s, done. Total 12 (delta 0), reused 0 (delta 0) To https://github.com/AnchalChadha/NewRep.git * [new branch] master -> master Branch master set up to track remote branch master fromorigin. anchal.chadha@BSSDT018 /c/anchal/Sanyam/ex2 (master) $
  • 13. Cmd