question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to pass keystroke "RETURN/Enter" for message "Press RETURN to get Started" in cisco switch

See original GitHub issue

Hi,

I am trying to use posh-ssh to connect switches and running commands but when I get this message “Press RETURN to get Started” after reload command this below stream is not working.

$stream.Write(“`n”).

Could you please check what I am missing here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
darkoperatorcommented, Oct 20, 2020

No idea

1reaction
darkoperatorcommented, Oct 20, 2020

Did you see a sleep of a couple fo seconds to give it time to put stuff out in to the stream? Only options that come to mind are r and n or both together and then do a loop reading until a loop appears with a counter and a sleep to control how many times to read and for how long.

On Oct 20, 2020, at 12:16 PM, Dev Varun notifications@github.com wrote:

Yes, tried but it’s also not working. Giving blank output when i did $stream.Read() .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/350#issuecomment-712967713, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD7IHWLF7WPVYJJRNA3UODSLWZXFANCNFSM4SYR7QJQ.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cisco Catalyst 2960 series switch showing " Press Return ...
It is your first connection to it? Do you know the configuration on your switch? Just press Enter at the message " Press...
Read more >
Cisco 3550 switch stuck at Press RETURN to get started!
Hi, I have a cisco 3550 switch which I power cycled but now its stuck at Press RETURN to get started!
Read more >
Cisco Catalyst 2960 series switch showing " Press Return ...
I need to configure the switch . No commands or any key press are not working . it still showing the same message...
Read more >
Solved: Unable to take control in console mode
Solved: Hi I use a C2950-24 switch, with IOS 12.1(22)EA12 release. When I try to connect in console mode, I can see the...
Read more >
Router bootup press RETURN to get started
Hi, Have some old 2501 routers to practice. On two of them afer bootup he sais 'Press RETURN to get started'. But after...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found