-
mapurba@$ cloud="ssh -i /home/mapurba/.ssh/gcpinstance mapurba@prod"
*prod = ip...can be path after that
mapurba@$ $cloud
you should be able to ssh to the system
now alias this variable to any name to have easy linux shell quick commands
this is alias command
mapurba@$ alais cloud=$cloud
mapurba@$ cloud
....loggin
or use this alias cloud="ssh -i /home/mapurba/.ssh/gcpinstance mapurba@prod"
Top comments (0)