MobaXterm Rcbgit 20250327 092955
MobaXterm Rcbgit 20250327 092955
┌──────────────────────────────────────────────────────────────────────┐
│ • MobaXterm Personal Edition v25.1
• │
│ (SSH client, X server and network
tools) │
│
│
│ ⮞ SSH session to ec2-user@ec2-15-206-88-161.ap-south-
1.compute.amazonaws.com │
│ • Direct SSH : ✓
│
│ • SSH compression : ✓
│
│ • SSH-browser : ✓
│
│ • X11-forwarding : ✗ (disabled or not supported by
server) │
│
│
│ ⮞ For more info, ctrl+click on help or visit our website.
│
└──────────────────────────────────────────────────────────────────────┘
, #_
~\_ ####_ Amazon Linux 2023
~~ \_#####\
~~ \###|
~~ \#/ ___ https://aws.amazon.com/linux/amazon-linux-
2023
~~ V~' '->
~~~ /
~~._. _/
_/ _/
_/m/'
Last login: Thu Mar 27 01:39:06 2025 from 223.185.31.7
[ec2-user@ip-172-31-8-253 ~]$ sudo su -
Last login: Wed Mar 26 16:01:25 UTC 2025 on pts/2
[root@ip-172-31-8-253 ~]# yum install git -y
Last metadata expiration check: 9:43:31 ago on Wed Mar 26 16:01:40 2025.
Package git-2.47.1-1.amzn2023.0.2.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@ip-172-31-8-253 ~]# git --version
git version 2.47.1
[root@ip-172-31-8-253 ~]#
[root@ip-172-31-8-253 ~]#
Network error: Software caused connection abort
─────────────────────────────────────────────────────────────────────────────
─────────────────────────────────────────────────────────────────────────────
────────────────
Session stopped
- Press <Return> to exit tab
- Press R to restart session
- Press S to save terminal output to file
login as: ec2-user
Authenticating with public key "Imported-Openssh-Key"
┌──────────────────────────────────────────────────────────────────────┐
│ • MobaXterm Personal Edition v25.1
• │
│ (SSH client, X server and network
tools) │
│
│
│ ⮞ SSH session to ec2-user@ec2-15-206-88-161.ap-south-
1.compute.amazonaws.com │
│ • Direct SSH : ✓
│
│ • SSH compression : ✓
│
│ • SSH-browser : ✓
│
│ • X11-forwarding : ✗ (disabled or not supported by
server) │
│
│
│ ⮞ For more info, ctrl+click on help or visit our website.
│
└──────────────────────────────────────────────────────────────────────┘
, #_
~\_ ####_ Amazon Linux 2023
~~ \_#####\
~~ \###|
~~ \#/ ___ https://aws.amazon.com/linux/amazon-linux-
2023
~~ V~' '->
~~~ /
~~._. _/
_/ _/
_/m/'
Last login: Thu Mar 27 01:41:33 2025 from 223.185.31.7
[ec2-user@ip-172-31-8-253 ~]$ sudo su -
Last login: Thu Mar 27 01:44:48 UTC 2025 on pts/1
[root@ip-172-31-8-253 ~]#
[root@ip-172-31-8-253 ~]# git config --global user.name "Dakua"
[root@ip-172-31-8-253 ~]# git config --global user.email
"dakuag642@gmail.com"
[root@ip-172-31-8-253 ~]# git config --list
user.name=Dakua
user.email=dakuag642@gmail.com
[root@ip-172-31-8-253 ~]# ^C
[root@ip-172-31-8-253 ~]# git config --global user.name "Dakua"
[root@ip-172-31-8-253 ~]# git config --global user.email
"dakuag642@gmail.com"
[root@ip-172-31-8-253 ~]# git config --list
user.name=Dakua
-bash: [root@ip-172-31-8-253: command not found
-bash: [root@ip-172-31-8-253: command not found
-bash: user.name=Dakua: command not found
[root@ip-172-31-8-253 ~]# ^C
[root@ip-172-31-8-253 ~]# ^C
[root@ip-172-31-8-253 ~]#
[root@ip-172-31-8-253 ~]# git config --list
user.name=Dakua
user.email=dakuag642@gmail.com
[root@ip-172-31-8-253 ~]#
[root@ip-172-31-8-253 ~]# mkdir rcbgit
[root@ip-172-31-8-253 ~]# ls
rcbgit
[root@ip-172-31-8-253 ~]# cd rcbgit/
[root@ip-172-31-8-253 rcbgit]# git init
hint: Using 'master' as the name for the initial branch. This default branch
name
hint: is subject to change. To configure the initial branch name to use in
all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /root/rcbgit/.git/
[root@ip-172-31-8-253 rcbgit]# ls -a
. .. .git
[root@ip-172-31-8-253 rcbgit]#
[root@ip-172-31-8-253 rcbgit]#
[root@ip-172-31-8-253 rcbgit]#
[root@ip-172-31-8-253 rcbgit]#
Network error: Software caused connection abort
─────────────────────────────────────────────────────────────────────────────
─────────────────────────────────────────────────────────────────────────────
────────────────
Session stopped
- Press <Return> to exit tab
- Press R to restart session
- Press S to save terminal output to file