SlideShare a Scribd company logo
Laboratory
Session No. 01
You need to read these
instructions very carefully, and
apply in laboratory session.
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
Information you needed
For laboratory session, you will
work on a remote GNU/Linux
server. You must know the
server's name, your user ID,
password and the port number,
which allow you to connect the
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
server. This needed information
is tabulated below:
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
Item Value
GNU/
Linux
Server
code.gdy.club
User ID YourRollNumber
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
Password
If you don't know,
contact office of
Applied Science
Dept.
Port 22
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
How to access remote server
Use mosh software. In
laboratories, teacher will tell you
the instruction how to connect
to remote server. Software will
be already installed in
computers avaliable for your
laboratory work.
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
If you wish to connect from your
mobile, or desktop, then
Visit mosh's Download page.
Follow instructions to get the
software and to install it. You
may also install it
as Chrome browser's extension.
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
Visit Chrome Store for further
information.
From Linux Desktop / Laptop,
open "Command line Terminal"
(also called console), using
Ctrl+Atl+t (may vary depending
on Linux Distribution and due to
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
customisation). Using GUI, you
may also launch it.
Further help may be taken
from: WikiHow
Once you have opened
terminal, which is usually a big
black rectangular area, in which
there is a small solid rectangle
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
(of the size of a single
character), after some text
likehs@rai:~$ , where hs is
user on local computer
named rai, like:
hs@rai:~$
At the position of cursor (Solid
Rectangle), you may type from
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
keyboard. Type following
command.
hs@rai:~$ mosh
hsrai@code.gdy.club
hs@rai:~ will be there already,
and you need to type only
(without any ‘Enter/Return’):
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
mosh
<UserID>@<ServerName>
If you UserID is 19123015, and
knowing that we will be working
on server code.gdy.club, then
you need to type:
mosh
1923015@code.gdy.club
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
First time, if anyone try to
connect to a new remote server,
then he will be presented with
following text:
The authenticity of
host 'code.gdy.club
(<no hostip for proxy
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
command>)' can't be
established.
ECDSA key fingerprint
is
SHA256:nnqmn/lV3O3BUIYU
Qq2kfN8auq9+d6oq1acUVc5
kFWc.
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
Are you sure you want
to continue connecting
(yes/no)?
Now you are supposed to read
it very carefully, if you
type y or n, then you will be
surprised (I say,
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
rather SHOCKED) by getting
messages like:
Are you sure you want
to continue connecting
(yes/no)? n
Please type 'yes' or
'no': y
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
Please type 'yes' or
'no': yes
So you need to type three
letters (characters) as instructed
by the computer, which are y e
s. Single character will not work.
After this, once connection
established (make sure Internet
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
is working, and there is not
typing error/mistake), remote
server will request you for
password:
hsrai@code.gdy.club's
password:<Enter your
password, and press
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
Enter: You won't se
anything as you type>
Creating directory
'/home/hsrai'.
Linux computer-centre
4.19.0-5-amd64 #1 SMP
Debian 4.19.37-
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
5+deb10u1 (2019-07-19)
x86_64
Welcome to Coding
Server maintained by
Computer Centre of
GNDEC, Ludhiana,
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
Specifically for the
students of 1st year
for their course:
=======================
==========
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
Programming for Problem
Solving
=======================
==========
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
To know how to work,
read:
https://github.com/gne-
ldh/PPS/blob/master/Con
tent/Notes/README.md
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
hsrai@computer-
centre:~$ ls
public_html
It will display something about
itself, and may include some
welcome message. The above
message is the sample, The
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
message, you get may be
different.
Now you have entered in to a
remote server. That may be a
computer on network, physically
placed on the same table, or
may in Canada, Europe, or
USA. That may be an old
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
machine or may be a super
computer.
If you are able to do this, then
pat yourself. You have reached
first destination. But interesting
journey yet to come!
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
Continue reading next
instruction, may be after a tea
break ;-)
22 Dec 19 GWF-2011 hsrai @ gndec . ac . in

More Related Content

PDF
FOSS in GIS: Overview Part-2
PDF
Foss and GIS: Overview - Part 1
PDF
GIS and Open Source
PDF
Better City Better Life
PDF
Digital Mapping
PPTX
PPTX
ODP
Turbocad
FOSS in GIS: Overview Part-2
Foss and GIS: Overview - Part 1
GIS and Open Source
Better City Better Life
Digital Mapping
Turbocad

More from Hardeep Rai (16)

PPT
CADopia
PPTX
FelixCAD
PDF
Basics of GPS
PDF
FOSS: Freedom matters
PDF
World Habitat Day
PDF
Internet Technologies
PDF
Life Story Of A Structural Enginee
PDF
SotM: Punjab
ODP
Seapac
PDF
Welcome
ODP
Innovations through FOSS
ODP
ODP
PPT
RCCDR_Beam
PDF
GRASSy GIS
PDF
Earthquake Engineering
CADopia
FelixCAD
Basics of GPS
FOSS: Freedom matters
World Habitat Day
Internet Technologies
Life Story Of A Structural Enginee
SotM: Punjab
Seapac
Welcome
Innovations through FOSS
RCCDR_Beam
GRASSy GIS
Earthquake Engineering
Ad

Recently uploaded (20)

PPTX
A Presentation on Artificial Intelligence
PPTX
Chapter 5: Probability Theory and Statistics
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Encapsulation theory and applications.pdf
PPTX
A Presentation on Touch Screen Technology
PDF
Web App vs Mobile App What Should You Build First.pdf
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Tartificialntelligence_presentation.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Getting Started with Data Integration: FME Form 101
A Presentation on Artificial Intelligence
Chapter 5: Probability Theory and Statistics
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Hindi spoken digit analysis for native and non-native speakers
Encapsulation theory and applications.pdf
A Presentation on Touch Screen Technology
Web App vs Mobile App What Should You Build First.pdf
cloud_computing_Infrastucture_as_cloud_p
Unlocking AI with Model Context Protocol (MCP)
1 - Historical Antecedents, Social Consideration.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Tartificialntelligence_presentation.pptx
WOOl fibre morphology and structure.pdf for textiles
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Zenith AI: Advanced Artificial Intelligence
Getting Started with Data Integration: FME Form 101
Ad

Connect to Remote Server

  • 1. Laboratory Session No. 01 You need to read these instructions very carefully, and apply in laboratory session. 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 2. Information you needed For laboratory session, you will work on a remote GNU/Linux server. You must know the server's name, your user ID, password and the port number, which allow you to connect the 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 3. server. This needed information is tabulated below: 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 4. Item Value GNU/ Linux Server code.gdy.club User ID YourRollNumber 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 5. Password If you don't know, contact office of Applied Science Dept. Port 22 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 6. How to access remote server Use mosh software. In laboratories, teacher will tell you the instruction how to connect to remote server. Software will be already installed in computers avaliable for your laboratory work. 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 7. If you wish to connect from your mobile, or desktop, then Visit mosh's Download page. Follow instructions to get the software and to install it. You may also install it as Chrome browser's extension. 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 8. Visit Chrome Store for further information. From Linux Desktop / Laptop, open "Command line Terminal" (also called console), using Ctrl+Atl+t (may vary depending on Linux Distribution and due to 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 9. customisation). Using GUI, you may also launch it. Further help may be taken from: WikiHow Once you have opened terminal, which is usually a big black rectangular area, in which there is a small solid rectangle 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 10. (of the size of a single character), after some text likehs@rai:~$ , where hs is user on local computer named rai, like: hs@rai:~$ At the position of cursor (Solid Rectangle), you may type from 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 11. keyboard. Type following command. hs@rai:~$ mosh hsrai@code.gdy.club hs@rai:~ will be there already, and you need to type only (without any ‘Enter/Return’): 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 12. mosh <UserID>@<ServerName> If you UserID is 19123015, and knowing that we will be working on server code.gdy.club, then you need to type: mosh 1923015@code.gdy.club 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 13. First time, if anyone try to connect to a new remote server, then he will be presented with following text: The authenticity of host 'code.gdy.club (<no hostip for proxy 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 14. command>)' can't be established. ECDSA key fingerprint is SHA256:nnqmn/lV3O3BUIYU Qq2kfN8auq9+d6oq1acUVc5 kFWc. 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 15. Are you sure you want to continue connecting (yes/no)? Now you are supposed to read it very carefully, if you type y or n, then you will be surprised (I say, 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 16. rather SHOCKED) by getting messages like: Are you sure you want to continue connecting (yes/no)? n Please type 'yes' or 'no': y 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 17. Please type 'yes' or 'no': yes So you need to type three letters (characters) as instructed by the computer, which are y e s. Single character will not work. After this, once connection established (make sure Internet 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 18. is working, and there is not typing error/mistake), remote server will request you for password: hsrai@code.gdy.club's password:<Enter your password, and press 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 19. Enter: You won't se anything as you type> Creating directory '/home/hsrai'. Linux computer-centre 4.19.0-5-amd64 #1 SMP Debian 4.19.37- 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 20. 5+deb10u1 (2019-07-19) x86_64 Welcome to Coding Server maintained by Computer Centre of GNDEC, Ludhiana, 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 21. Specifically for the students of 1st year for their course: ======================= ========== 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 23. To know how to work, read: https://github.com/gne- ldh/PPS/blob/master/Con tent/Notes/README.md 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 24. hsrai@computer- centre:~$ ls public_html It will display something about itself, and may include some welcome message. The above message is the sample, The 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 25. message, you get may be different. Now you have entered in to a remote server. That may be a computer on network, physically placed on the same table, or may in Canada, Europe, or USA. That may be an old 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 26. machine or may be a super computer. If you are able to do this, then pat yourself. You have reached first destination. But interesting journey yet to come! 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in
  • 27. Continue reading next instruction, may be after a tea break ;-) 22 Dec 19 GWF-2011 hsrai @ gndec . ac . in