Skip to main content
added 1 character in body
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 265

I have a .sh shell script, with this content

ipserver = "66.249.95.255"
echo "root@${ipserver}"
ssh "root@${ipserver}"  

but does not worwork, my echo is displaying:

root@

what am I doing wrong?

I have a .sh shell script, with this content

ipserver = "66.249.95.255"
echo "root@${ipserver}"
ssh "root@${ipserver}"  

but does not wor, my echo is displaying:

root@

what am I doing wrong?

I have a .sh shell script, with this content

ipserver = "66.249.95.255"
echo "root@${ipserver}"
ssh "root@${ipserver}"  

but does not work, my echo is displaying:

root@

what am I doing wrong?

edited tags
Link
GAD3R
  • 69.9k
  • 32
  • 147
  • 216
Source Link
stackdave
  • 201
  • 1
  • 2
  • 8

variable ip , and connect with ssh

I have a .sh shell script, with this content

ipserver = "66.249.95.255"
echo "root@${ipserver}"
ssh "root@${ipserver}"  

but does not wor, my echo is displaying:

root@

what am I doing wrong?