Recent content by countryboy

  1. C

    Have continuous Ping if SSH session is disconnected.

    So since the SSH Times out after an hour of inactivity, if the ping is still running after I'm booted, I can go back and review the file (since I have it being saved in a .txt file)? When I tried that, the Ping Log stopped when SSH was ceased due to inactivity. I'll try it again though and see...
  2. C

    Have continuous Ping if SSH session is disconnected.

    Hi All, I am trying to see what the best way to do a continuous ping even if my ssh session is disconnected. I've tried detaching using the screen command. I've tried using nohop I've tried using disown I've tried using setsid I do not have root access (since I'm not consider an engineer). So...
  3. C

    SSH with it prompting User/Pass instead of having to specify user in command

    Google doesn't explain how to get a linux terminal to prompt a router ssh username field, and only advises to include it on the ssh command. As I said in my original post this may be a function on my router but wanted to see if the linux terminal can help achieve the same goal.
  4. C

    SSH with it prompting User/Pass instead of having to specify user in command

    I think I didn't say the question right since it seems your referring to the ssh on the redhat server itself. My question is getting the redhat terminal to prompt the username field instead of typing it in the command. I want Ssh Routerip Router username Router password Instead of Ssh...
  5. C

    SSH with it prompting User/Pass instead of having to specify user in command

    Hi All, I'm playing around with Red Hat Enterprise 7.6. Basically if I need to log into a router, I would have to ssh username@router, (other ways is using the -l flag, or the -o flag). My question is, can I type in to where it does a User/Pass prompt? I tested this with Telnet and that's what...
  6. C

    Alias not working in Bashrc that is a shell script

    Hi All, I've searched Google, and though I'm searching as to why my alias is not working in the bashrc, I'm getting results of alias not working in shell scripts. I have a script that is called digCUST.sh, and I added an alias in my .bashrc file: alias digh="digCUST.sh" I sourced the bashrc...
  7. C

    Need Assistance on Ping Command

    Hi All, I've been googling all day and I can't really seem to find what I am looking for. I am wanting a ping command that will display the time, and if the ping was successful or failed. Something like the following [Wed Jul 31 02:01:27 EDT 2019] 64 bytes from 76.234.111.182: icmp_seq=1...
Top