Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded pfSense from 2.1 to 2.2 and the login prompt has changed. #3

Open
GoogleCodeExporter opened this issue Apr 16, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Upgraded from pfsense 2.1 to 2.2 and backups started failing

What is the expected output? What do you see instead?

Pflogin is looking for "Password:" however it looks like the ssh password 
prompt has changed. I edited the pfloging accordingly to fix the issue:

$ diff pflogin pflogin-orig
403c403
<           "\[Pp]assword for $user@$router:"                   {

---
>           "\[Pp]assword:"                     {




What version of the product are you using? On what operating system?

Pfsense 2.2
Rancid 2.3.8-6 

Please provide any additional information below.

Attached is my pflogin in case anyone wants a drop-in fix without having to 
edit files. 

Original issue reported on code.google.com by chris.we...@gmail.com on 26 Jan 2015 at 4:21

Attachments:

@GoogleCodeExporter
Copy link
Author

This branch of rancid-git handles password prompts for 1.2, 2.1 and 2.2  (2.0 
is untested):  https://github.com/jnorell/rancid-git/tree/pfrancid

Original comment by jesse.no...@gmail.com on 4 Mar 2015 at 10:54

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Didn't work for me 

expect version 5.45
Ubuntu 12.04.4 LTS

But changed it to the following, and that works for me on both pfsense 2.1 and 
pfsense 2.2 

$ diff pflogin pflogin-orig
403c403
<           -re "\[Pp]assword.*:"                   {
---
>           "\[Pp]assword:"     {

Original comment by powerla...@gmail.com on 27 Mar 2015 at 8:37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant